How to Get Flash Movie to Stop at End

Actionscript commands are used to control the animation of a Flash movie. Simple commands include playing the movie, jumping to a frame and playing from that frame on and jumping to a frame and stopping the movie. The stop(); command stops playback of the movie on the frame where the command is located. This command is inserted into the frame using a Flash object called a "keyframe." Use a keyframe on the last frame of the movie to get it to stop.

Things You'll Need

  • Working installation of Adobe Flash
Show More

Instructions

    • 1

      Open up the Flash movie in your editor and click the "Insert Layer" button. Drag the new layer to the top of the "Layers" panel.

    • 2

      Locate the timeline and click on the last frame to select it.

    • 3

      Click the "Insert" menu and select "Blank Keyframe." Click the keyframe once to select it.

    • 4

      Click the "Window" menu and select "Development Panels" and "Actions."

    • 5

      Type the following line into the "Actions" panel:

      stop();

      Close the "Actions" panel and save your Flash animation.

Tips & Warnings

  • After opening the "Actions" panel, confirm that you are editing the keyframe by locating the text "Actions Frame" in the upper left corner of the panel.

Related Searches:

References

Comments

You May Also Like

Related Ads

Featured