all groups > flash (macromedia) > february 2005 >
You're in the

flash (macromedia)

group:

random



random gugeebzung
2/4/2005 10:15:26 PM
flash (macromedia):
Re: random NSurveyor
2/4/2005 10:26:52 PM
You could do something like this. Place script on first frame of movie:

myMovies = ["movie1.swf","anotherMovie.swf","yetAnotherMovie.swf"];
randomNumber = random(myMovies);
loadMovieNum(myMovies[randomNumber],2);
Re: random urami_
2/5/2005 11:48:09 AM


[quoted text, click to view]

Make one empty SWF and place it in html. on first frame of that movie place

loadMovieNum("movie"+(Math.ceil(Math.random()*3))+".swf", 1);

Just name your movies movie1.swf movie2.swf movie3.swf
If more movies, adjust the *3 number accordingly.




--
Happy Chinese New Year and all the best to all of you guys !!!


<urami>
http://www.Flashfugitive.com
</urami>


<web junk free>
http://www.firefox.com
AddThis Social Bookmark Button