Hi,
I load a Random Background (for Home) in my movie, all works perfect. My question is:
Wenn I go back to Home (home button), I want to display the same Background that Flash loaded first.
Is there a way to do that?, to assign a variable to the movie that Flash loads?
I used this code to load the random movie:
choice = Math.round(Math.random()*5);
switch (choice) {
case 0 :
myemptymovie.loadMovie(“image0.swf”);
break;
case 1 :
myemptymovie.loadMovie(“image1.swf”);
break;
case 2 :
myemptymovie.loadMovie(“image2.swf”);
break;
And for the home button I use the same code but with:
on (release) {
choice = Math.round(Math.random()*5); …
Thanks for your help…