You can think of colorTransform as a semi-transparent filter over the object. That's why it is 0.
You can get the pixel value by using BitmapData.draw() and getPixel() ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Claudia Barnal Sent: Friday, September 21, 2007 1:51 PM To: [email protected] Subject: [flexcoders] Find original color of a Shape 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

