I have this function:
public function image_complete(evt:Event):void {
bm = myColorWheel.content as Bitmap;
bmd = new BitmapData(myColorWheel.contentWidth,
myColorWheel.contentHeight);
bmd.draw(bm);
mx.controls.Alert.show("bitmap okey");
}
I have this on a complet event in a image control(myColorWheel), with a source
image that load correctly.
I have this declared:
public var bm:Bitmap;
public var bmd:BitmapData;
Alert dont show because something dont work, and if i getPixel from bmd i
return nothing.
Any suggestion to convert a image control, to bitmapdata where i cant get pixel
information?
thk.
Giro.