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();
myVideo.attachVideo(myCam);
//
this.createEmptyMovieClip("hihi",
this.getNextHighestDepth());
myBit = new BitmapData(myVideo._width, myVideo._height,
false);
myBit.draw(myVideo);
hihi.attachBitmap(myBit, this.getNextHighestDepth());
--------------------------------------------
the problem is
"hihi" didn't attach a video image but a rectangle with
preset color
whould kindy anyone can tell me how to solve the problem?
should i need to apply a filter?