PDA

View Full Version : Random Scenes


lenag
12-19-2001, 02:31 PM
Situation: there are 4 scenes in the movie, need to show them randomly every time the movie is displayed in a browser. Is there any way to do this with actionscript?

Thank you

Ricod
12-19-2001, 02:41 PM
Sure. Use the random function to set a certain variable to an integer between 0 and 3. Next use an if statement to decide which scene to play. Label the first frame of the scenes with a unique framelabel and goto that frame.

BTW :
[crosspost]

mnd
01-03-2005, 05:29 PM
Hello,
Can I have this script please?
This what I was searching for!
Thanks