Question
BitmapData Threshold method
I've looked through every piece of information I can find on
the threshold method and I still can't get it to do what I want.
I've got it almost working, but it removes more colors than it
should.
All I want to do is chage the color 0xFF00CCFF to transparent (ie. 0x00000000).
My bitmap is created like this
var myBitmapData:BitmapData = new BitmapData(clip1._width, clip1._height, true, 0x000000FF);
Can someone please tell me the exact parameters to pass to the threshold method to remove all the pixels that match 0xFF00CCFF please.
All I want to do is chage the color 0xFF00CCFF to transparent (ie. 0x00000000).
My bitmap is created like this
var myBitmapData:BitmapData = new BitmapData(clip1._width, clip1._height, true, 0x000000FF);
Can someone please tell me the exact parameters to pass to the threshold method to remove all the pixels that match 0xFF00CCFF please.