Ok so I have a button that goes back to a frame on the [COLOR=red]Main Movie [/COLOR][COLOR=black]that plays this script at this particular frame:[/COLOR]
myArray = ["home_quote1.swf","home_quote2.swf", "home_quote3.swf"];
randomClip = myArray[random(myArray.length)];
//usage
sub_nav.loadMovie(randomClip);
The reason I have this button going back to this particular frame is because it’s sort of a “back to home” button for the site I’m doing (so that it loads a random external movie clip when you go back to the “homepage”)…
My question is this: Is there any way I can put this script into the button so I don’t have to go back to this frame in order to call this script to load the random movieclips?