Copy link to clipboard
Copied
I am working on a project similar to monopoly, where after i roll a dice, the player moves accordingly to the number shown on the dice.
I have a script written and a frame set up. However on playing at swf, the frame just keeps playing even though there is a Roll button for the dice and doesnt stops. How do I ensure that the frame stops playing and only move when the Roll button is pressed?
if you're trying to stop a movieclip from advancing frames, apply a stop() to the movieclip either by adding a stop() to that movieclip's timeline or by using the movieclip's name:
mc.stop(); // to stop mc from advancing frames.
Copy link to clipboard
Copied
if you're trying to stop a movieclip from advancing frames, apply a stop() to the movieclip either by adding a stop() to that movieclip's timeline or by using the movieclip's name:
mc.stop(); // to stop mc from advancing frames.