I need to find an action script that tells a random movie clip scene to play… You see I have a movie clip with two frames ( each with “stop” in the AS), but when I export the film, I want it to randomly pick which of the two frame to show…
set a variable to a random number. Do some research on how to make a random integer because the random function in flash generates a random number between 0 and 1 so you have to do some multiplying (to get the number to be between 1 and 2) and some rounding (using either floor or ceiling to get it to be exactly 1 or exactly 2).
Then its just a matter of setting the gotoAndPlay(yourrandomvariable).