PDA

View Full Version : Bitmap data as3



stupidsaint
October 25th, 2009, 01:26 PM
Is it possible to get a bitmap and import it into flash, but then change it so that all of the white has a 0% alpha?

This would really help me out,

Thanks

Stupidsaint

Valaran
October 25th, 2009, 02:07 PM
I think the threshold method of the bitmapData class would suit your needs.

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/display/BitmapData.html#threshold()