
Originally Posted by
tomyknoker
Oh... No that .as file is just set's up all the tween, including the glow tween... You still have to "activate" them in the flash movie. If I add this to each button/mc
Code:
onClipEvent (load) {
this.xGlowTo(0x3C0000, 1, 20, 1, 3, false, false, 1);
}
it works for the individual button... But I have so many buttons that I thought I could add it to the array area... But with the previous code you gave me it just didn't seem to work

AHHHHH I got it to work using this
Code:
for (var i=0; i<myButtons.length; i++) {
// Sets its original X value. This will be used later for reference.
myButtons[i].originalX = myButtons[i]._x;
myButtons[i].xGlowTo(0x2F0000, 1, 30, 1, 3, false, false, 0);
Atleast something going right today!
Any luck with my other post?
Bookmarks