Hello,
I'm trying to draw something on a component skinned using a Flash
skin, but nothing is drawn (or better said, I don't see anything
because the drawing is done beneath the skin).
My code looks something like
public class TestButton extends Button
{
public function TestButton()
{
] Drawing on skinned component
To: flexcoders@yahoogroups.com
Date: Friday, February 20, 2009, 8:53 AM
Hello,
I'm trying to draw something on a component skinned using a Flash
skin, but nothing is drawn (or better said, I don't see anything
because the drawing is done
Thank you for your answer Laurent.
I was doing something similar, but more complicated: calling
addChild(sprite) in createChildren() and then setting the index of the
sprite to numChildren - 1 in updateDisplayList.
Apparently the answer is to wrap the sprite in a UIComponent and adding that
3 matches
Mail list logo