ColorTransform | RGB, Hex and random colors | Actionscript Color Tutorial
I’ve put together this flash to show how to set a movieclip to a certain color, I’ve had to do this at runtime and had to go by different values such as a hex number, rgb values and have even wanted to just set a random color, so this example does them all! It’s even nice for translating a Hexadecimal color into RGB color. Flash uses a Transform object to control certain properties of movie clips. To set color we need to use a Transform object as well as a ColorTransform object. ColorTransform objets are used to, you guessed it, tell the Transform object what color we want to set our clip to. It was a little unintuitive for me to learn, but now it makes sense, or at least enough sense to use.
Visit publisher site: ColorTransform | RGB, Hex and random colors | Actionscript Color TutorialListing Details
- Filed in:
-
Scripts / Flash / Tutorials & Tips / Actionscript
- Submitted on:
- Last Updated:
- Dec 25, 2010
- Publisher:
- Evan Mullins Other listings by this publisher
License & Pricing Information
- License Type:
- Freeware
- Price:
- $0.00 USD
- Additional Info:
User Reviews
Be the first to review this listing!Not yet reviewed by any member.... You can be the FIRST one to write a review for ColorTransform | RGB, Hex and random colors | Actionscript Color Tutorial