Hi all - hope you’re all well
I have a question regarding the Random Background image/swf tut.
The AS that does the work is this:
[AS]on (release) {
choice = Math.round(Math.random()*5);
switch (choice) {
case 0 :
location.loadMovie(“image0.swf”);
break;
case 1 :
location.loadMovie(“image1.swf”);
break;
case 2 :
location.loadMovie(“image2.swf”);
break;
case 3 :
location.loadMovie(“image3.swf”);
break;
case 4 :
location.loadMovie(“image4.swf”);
break;
case 5 :
location.loadMovie(“image5.swf”);
break;
}
}
[/AS]
What I’d really like to do is make sure that on pressing F5 in the browser (IE) the next image is not a repeat of the previous randomly selected image.
Any ideas? (Sorry - me and AS still getting acquainted
Thx for any help.