This is probably so basic it is laughable but I would like to have a
"gotoAndStop("FrameLable_1")" frame lable be a random choice of two different lables. example frame "right" and frame "wrong".
How can I write this?
Cheers
Mark
Printable View
This is probably so basic it is laughable but I would like to have a
"gotoAndStop("FrameLable_1")" frame lable be a random choice of two different lables. example frame "right" and frame "wrong".
How can I write this?
Cheers
Mark
So you want to randomly go to one of two frames? Right or wrong?
Frame 1 = wrong
Frame 2 = right
code:
var myNum:Number = Math.round(Math.random());
gotoAndStop(myNum + 1);
_t