Need help understanding how to advance frames by an action in Flash

Posted on 2009-12-21
Last Modified: 2012-05-08
I have a flash project I'm working on in CS4.  I've made flash projects in the past and didn't seem to have a problem using actions to advance to different frames when I button is pressed but for whatever reason I can't seem to figure it out in CS4 using the Actionscript 3.  I posted a file that I can be worked on if need be.

I'm trying to advance frame 1 to frame 20 when pressing the word Capabilities

I didn't put a stop() or however it is done now in frame 1 yet.

Question by:Zantis
    LVL 19

    Accepted Solution

    I've attached an as3 and an as2 version of the solution.

    Just because you're in CS4 doesn't mean you *have* to use as3. If you prefer to use as2 because you are familiar with it, just use 'File, Publish Settings, Flash tab, script' and choose the version of actionscript you want to use.

    Author Comment

    I'm not sure why this is but everytime I go to the right side to type the action in the actions window, it doesn't let me type very much but I'm not understanding how the actions menu works.  I will of course copy and paste the code that you gave me and that should work just fine for this issue.  Do you know of any good instructions on the actions menu?  I also need to use AS3 for this because one of the components I purchased is AS3.

    LVL 19

    Expert Comment

    Hi Zantis.

    The best source training source I've found for all Flash needs is

    I can't help you myself with AS3 as I still use AS2 !

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
    While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
    In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now