I thought this would be an easy task, but so far its proved to be aggervating!
Sumary:
So i have this Play button that i want to have a small chance of playing from a different frame.
on the 1st frame (one right before the button) I have a variable set
On the frame of the button I haveActionscript Code:Shiny = 0
And on the button i haveActionscript Code:stop ();
Actionscript Code:on (release) { var wv:Number = random(13);
wv += Shiny
gotoAndPlay(3);
}
Ok.. so it works as a play button...
But at frame 12 i have (in the frame)
Actionscript Code:if (_root.Shiny = 12){
gotoAndPlay
(26);
}
But no matter what I do it always plays from frame 26
I know ive gotta be close with this
what have i done wrong?
thanks for reading