Hi,

I'm trying to get the color of an embedded shape with this code:
trace(Shape(embeddedSprite.getChildAt(0)).transform.colorTransform.color);

but all I get is 0.

If I add a color to the colorTransform, I'm able to retrieve it.

So I'm guessing the colorTransfor only returns a color once you have
explicitly assigned one to it.

So, how would one be able to retrieve the color of that shape without
using the colorTransform?

Any pointers would be great,
Thanks

Reply via email to