|
||||||
|
||||||
Skinning Components with Style

Free
Members Tutorial
Step Five: Changing Style Properties
For Flash MX04: Window > Development Panels > Actions (F9)
_global.style.setStyle("themeColor", "haloOrange")
Example: Download the Flash file Com 608c
All four Components now have an orange theme
The ActionScript Explained:
For an explanation on the two parameters refer back to Styling Individual Halo Theme Components: Step Three
_global.style.setStyle("themeColor", "haloOrange")
This time we have replaced the reference to the Component's instance name with "_global.style". This in effect makes a global statement that any Components inside the Movie will have its themeColor property changed to haloOrange. This can be overridden if another style property comes afterwards. To see this in action:
|
Why not try out webwasp's new community. Meet new people, find friends in your area: Webwasp Mates & Dates
•
4612 visitors to this page since
Sept 06 •
|
|
|
All material on this site is protected under international copyright © law. DO NOT reproduce any material from this site without written permission. Please ask as permission is often granted.
|