Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

ActionScript 3.0

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 :/

Name: eeBo 2011-02-09 9:36

>>18
pro observer! I'm actually not even visiting anything on 4chan anymore besides /g/ /v/ and /comp/... not like I expect you to be familiar with any other boards besides /b/ and this shithole

i hope you get cancer

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List