PDA

View Full Version : ColorTransform clobbering lineStyle


bigjenkie
07-22-2008, 11:18 PM
Howdy,

When I apply a colorTransform to a programatically created Sprite (lineStyle, beginFill, moveTo, lineTo....), the vector line I used to draw the sprite with gets clobbered. For the time being, I'm having to delete the sprite and recreate it with the new color in order to keep the sprite with the proper outline, but it seems like there's a more elegant solution to this. Anyone have any ideas?

Thanks in Advance,

John

Sleeve
07-23-2008, 12:47 AM
Nope, you have it right. Clear and redraw with the new color unless you want one sprite for the fill and another for the border. To me, managing 2 sprites is harder than just redrawing one.