I have about 20 .swfs that reside in the same folder. How do I get all 20 swfs to randomly load into an html page? They are training quotes that fade in and fade out and i just need them to cycle randomly. Any suggestion would be greatly appreciated.
I put the code in the first frame of a blank loader movie and I renamed all of my swfs to match the code, but it's still not working. None of the movies will load. Am I missing something?
Since there's a probability that random would generate the same number twice (or even more...), I'd generate a unique random number viewing array, at the start and everytime a set of 20 have in fact played.
I'd then used an onEnterFrame function to load the movies according to the unique number array, as well as monitoring their current playing frame (compared to their total frames - they could thus be of different lengths...), to start off the next movie, when the previous movie has reached it's end...
Once the first cycle of 20 quotes has played, a new random array is generated, and the movies again loaded and playing automatically...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.