actionstript random frame question
actionstript random frame question
Out of context: Reply #2
- Started
- Last post
- 8 Responses
- kinetic0
or forget the labels and just do the frame numbers
just dont let your random pick 0 or flash might go ballistic since the frame numbers start at 1
if you have 10 frames for example:
number = Math.round(Math.random() * (9)) + 1;
gotoAndStop(number);