FLASH Actionscript Movie Control

Posted on 2007-10-05
Last Modified: 2008-01-09
I would like to make educational flash cards (just as how kids learn with cardboard flash cards) in Adobe Flash. My goal...Add as many cards on the timeline (1 card per frame) have a next button that randomly displays a frame. You can click next as much as needed to keep going through the frames. Can anyone tell me the way to do this actionscript? If possible a complete solution would be appreciated. (FLA FIle)

Question by:tcpmontreal
    LVL 11

    Accepted Solution


    basic... but should get you going.

    flash 8
    movies clip cards_mc has 5 frames labeled x1 - x5
    mc placed on stage
    stop action applied and setting variable num to equal 1
    each time the button is clicked, the variable num is increased by one, and the cards_mc is told to move to the frame "x" + the value num. so if num is set to equal 1 in the beginning, clicking a button will make num equal 2 and move to frame x2.

    hope that helps
    LVL 1

    Expert Comment

    Forced accept.

    EE Admin

    Featured Post

    Enabling OSINT in Activity Based Intelligence

    Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

    Join & Write a Comment

    I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
    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…
    The goal of the tutorial is to teach the user how to how to record live broadcast.
    The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

    746 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

    16 Experts available now in Live!

    Get 1:1 Help Now