Question : Get the Collor of an object

If I have a MovieClip named circle_mc could I use a function that will return the color x of that movie clip. somehting like:  getColor(circle_mc)  to return me x.

Answer : Get the Collor of an object

I'm afraid there's not a way to do that. A MovieClip can be multicolored, so it wouldn't even make sense, if you could. You can get the current color transform however, but I don't think that's what you are looking for.

An alternative solution would be to create a bitmap object from your movieclip and then get the color of the pixels at a specific coordinate using getPixel,
Random Solutions  
 
programming4us programming4us