Jump to content

Recommended Posts

Posted

HOW TO CREATE STOP AND PLAY BUTTONS



Insert a new layer and rename it buttons.

Create your buttons. Make one for stop and another for play. Make sure to give your instance names for you buttons.

Select your stop button on the stage.

Go to Window in your main menu and choose Actions. (Shortcut F9).

In your actions panel check to make sure you have your stop button selected.

Type this script (no spaces):
 on(press){stop( );}
Select your play button on the stage.

If you closed your Actions window open it up again (hit F9 or go to Window and to Actions).

In your actions panel check to make sure you have your play button selected.

Type this script(no spaces):
 on(press){play( );}
Your movie should now stop and play.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.