eHow launches Android app: Get the best of eHow on the go.

How To

How to jump from frame to frame in Flash

Member
By Beveronius
User-Submitted Article
(0 Ratings)

There are times when you need to jump from frame to frame within a scene in Adobe Flash. That is, you have a scene with a button in frame 1 and you need it to jump the user to frame 5 when clicked. If this is something you are in need of instruction, follow these easy steps below.

Difficulty: Moderately Easy
Instructions

Things You'll Need:

  • Adobe Flash
  • Creative button
  • Abillity to add ActionScript
  • Patience
  1. Step 1

    In Adobe Flash, click on the button to select it. Open the Window menu and select Actions. This will open the Actions dialog box for you to add a script.

  2. Step 2
    Scripting is easy when you know how to animate the object!
    Scripting is easy when you know how to animate the object!

    Type the following script in the Actions dialog box:
    on (release) {
    gotoAndPlay (5);
    }

  3. Step 3

    Close the Actions dialog box and click Ctrl+Enter to test your button. For instance, if your button is in frame 1, it should jump the user to frame 5 when they click the button.

  4. Step 4

    Yea! It is that easy. If that is what you needed, click Shift+Ctrl+F12 to publish your movie and load it to your desired location. NOTE: Prior to publishing, as you get more and more familiar with Flash, you caould add animation and multiple states to your button.

Tips & Warnings
  • Ensure you use the correct syntax when adding code.
  • Sometimes a missing ; or { will make your code not work or a button not function as designed.

Post a Comment

Post a Comment
  • Have you done this? Click here to let us know.
I Did This

Related Ads

Computers
Alexia Petrakos,

Meet Alexia Petrakos eHow's Computers Expert.

Get Free Computers Newsletters

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy.   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License.

eHow Computers
eHow_eHow Technology and Electronics