• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to stop frame from moving?

Guest
Oct 07, 2015 Oct 07, 2015

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?

TOPICS
ActionScript

Views

361

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 07, 2015 Oct 07, 2015

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.

Votes

Translate

Translate
Community Expert ,
Oct 07, 2015 Oct 07, 2015

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines