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 8:49

What's this board about? People showing off their amazing trolling skillz to people hoping to find some programmers? rename to /b/rogramming please

No wonder 4chan is so poorly coded ^^,

well... kthx4lulzbai

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