I’m coding up a website using Flash and I want to be able to change the site background as well as the button items color all at once via actionscript.
All the buttons are created with instances of the same base item (movie).
What’s the easiest way to have all of these items changed with a simple actionscript? I would prefer to avoid having one of these for each item:
var colorful = new Color("_root.MyItem");
colorful.setRGB(0x336699);
I was thinking perhaps naming each item as a number and just making a loop… any better suggestions?
Thanks!