9 Replies Latest reply on Jun 20, 2007 1:31 PM by kglad

    geting specific pixel RGB of a webcam

      gooday all
      im studying a technique of reconizing color of a live webcam
      here is my code below:
      import flash.display.BitmapData;

      myCam = Camera.get();
      this.createEmptyMovieClip("hihi", this.getNextHighestDepth());
      myBit = new BitmapData(myVideo._width, myVideo._height, false);
      hihi.attachBitmap(myBit, this.getNextHighestDepth());
      the problem is
      "hihi" didn't attach a video image but a rectangle with preset color

      whould anyone can tell me how to solve the problem?
      should i need to apply a filter?