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: Anonymous 2011-02-09 9:43

>>19
oh? i am quite sorry for coming here for the "help" anyway, so getting banned wouldn't be much of a punishment for getting my facts wrong about this place.

I apologize to you oh great vipper.. I have no doubt you're a programmer of the highest expertise. Especially because of the fact you have yet to post any code whatsoever in the last hour, which leads me to the conclusion you sir are so great at programming you don't even need to do it.

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