In Adobe flash, can you make a button go to a random frame like 2-7?

Vinny

New member
I am making a game in adobe flash and i found this script. What is does is it goes to a frame 1-5 when you click it.

on (release) {
gotoAndStop(random(5));
}

i put this into a button and i tested it. It worked fine but i want another button that only goes from frame 6 to frame 9

Please help me.

Sincerely,
Vinny
aslam that didnt help......
 
Back
Top