Reload to different frame in flash file?

Perseus

Registered
I was wondering if its possible to have my Flash file start at a different frame each time someone reloads my homepage. But the frames will be set, such as frame 1, 5, 10, etc....but each time someone hits the reload button for the webpage, it starts on these frames randomly, like, 1,1,5,1,10,10,5,5,1,5,10, etc etc If this does not make sense I will try to rephrase. Thanks!
 
I believe you can write action scripts to control flash, but I don't know how to do it. My web programmer does, though. :) I will check with him and get back here with an answer.
 
setup a random code to go to a specific frame.

_root.gotoAndStop(Number(random(5)+1));
// This random is a number from 1 to 6

Now i always make my flash site or app in just one frame, navigating through frames in movieclips. So that would look like...
_root.movieclipName.gotoAndStop(Number(random(5)+1));

Good luck
 
Back
Top