Name: eeBo 2011-02-09 7:22
Hey, looking for some help with Flash's ActionScript... I'm looking for a way to make my application randomly select a frame in a scene in which it uses "gotoAndPlay" to another scene...
For example:
Scene 2 is 500 frames long... i make a random number from 100-500 and it comes up with say: 350, so on the 350th frame on the scene it jumps onto scene 3.
i have no idea whatsoever on how to go about doing it... except for making the int with random: [Math.round(Math.random() * 400 + 100;]
I know this is kind of not programing, but I don't know where else i could get an answer on the subject :/
For example:
Scene 2 is 500 frames long... i make a random number from 100-500 and it comes up with say: 350, so on the 350th frame on the scene it jumps onto scene 3.
i have no idea whatsoever on how to go about doing it... except for making the int with random: [Math.round(Math.random() * 400 + 100;]
I know this is kind of not programing, but I don't know where else i could get an answer on the subject :/