Can someone tell me the actionscript to do a random number and make a choice based on it
This is what im doing:
I'm making the Splash page of a website, and id like it to each time it loads, run a random and based on the random, go to the proper frame.
So does flash actionscript have a random function? i assume so..
and some sort of switch statement to make the choice so i can jump to the right frame.
I plan for 3 different splashes, im sure once i see the code i can figure out how to change it for more splashes.
Assistence anyone? im really bad at understanding flash tutorials so just the code to do it would be fine, a random number and a switch statement to figure out the number and go to the correct frame.