PDA

View Full Version : random movie unload/load (Flash)



visual
05-09-2007, 04:29 AM
How can I create Flash ActionScirpt that will RANDOMLY load different movies?

I want to have several Flash movies in a folder that the code RANDOMLY can choose from, so that it is not simply a string of movies that you can learn the order that they play in simply by watching for a cycle or two. This way, I can create a new movie, put it in the folder and it will be chosen randomly also -- no re-scripting anything.

I am not any guru with ActionScript, but am learning.
Thanks!

Johnny Gulag
05-09-2007, 08:24 AM
http://www.kirupa.com/developer/actionscript/loading_random_movie.htm

visual
05-09-2007, 12:40 PM
Thank you!

That looks like it will work. I just glanced at it, but hope that I can adapt it to change quickly, not with each reload, but every 5-10 seconds.