PDA

View Full Version : Applying Pattern over ColorTransform problems



Sage_of_Fire
July 11th, 2008, 11:09 AM
I'm back, and with more questions! I am applying color transforms and bitmapFills to a sprite to change it's color. I can apply patterns all day long with beginBitmapFill, and it works fine, but if I try to colorTransform then bitmapFill, it doesn't work. For some reason, the bitmapFill cannot override the colorTransform. Do I need to remove the colorTransform somehow before I can fill it with a different pattern? Thanks.

sekasi
July 11th, 2008, 11:23 AM
Use a colormatrix with bitmapdata.applyFilter()

Sage_of_Fire
July 11th, 2008, 11:38 AM
Whoops, I already solved the problem. I just applied a blank ColorTransform before setting the new bitmap. Could we get a delete thread over here?