-
[RESOLVED] Getting the color of an object
I have a world map with each piece of the map as movie clips. Each MC is set to a color (using ColorTransform) based on some data about the state that i load in. When i click on the MCs I want to temporarily change the color to something else while displaying information about the MC and then change it back when i select another MovieClip. How can i find out what the current color of the clip is so i can store it in a temporary variable to know what i need to change it back to once i select some other?
I have a workaround but it is not 100% foolproof.
Last edited by VI Knight; 06-21-2008 at 08:16 PM.
Reason: resolved
-
Just trace through the properties in livedocs - DisplayObject.transform.colorTransform.color
-
Thank You Sir.
I stumbled on it just before you sent this. I was just about to mark this as resolved.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|