O'Reilly logo

Understanding Flash MX 2004 ActionScript 2 by Alex Michael

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

2

Constructing and Sharing ActionScript

Loading and Unloading Movies

To play additional movies without closing the Flash Player, or to switch movies without loading another HTML document, use the Load Movie action. The Unload Movie action removes a movie previously loaded by the Load Movie action. Not only can it be used to incrementally load sections of large Flash projects, but it can be used to manage code revisions by loading SWFs that only contain code.

To load a movie:

  1. Create a new file and place a button in the middle of it. Select the button and choose Window>Development Panels>Actions to display the Actions panel. This example assumes Normal Mode is selected.
  2. In the Toolbox list, click the Actions>Browser/Network category to display ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required