H  37  38  39 

Hands-On: Flash MX 2004 Movie Loader Component

The Loader component is a container that can display a .swf or a .jpg. You can scale the contents of the loader, or resize the loader itself, to accommodate your needs. By default, the contents are scaled to fit. This will hold the Pre-Loader Movie and a Progress Bar as well for another exercise.

Exercise 38: Adding a Loader Component to a Movie

The Components panel
  1. Open the Components panel.
  2. Click the UI Components expand plus mark [+] to open its contents.
  3. The UI Components Drag the Loader component onto the Stage.
  4. Select the new Loader component with the mouse.
  5. Select the Free Transform tool to size the Loader to the dimensions of the image file.3
  6. Open the Component Inspector panel
  7. The Component Inspector In the Parameters tab enter the path to the .swf or .jpg file in the contentPath value field.
  8. Click the Control menu, and then click Test Movie, or hit [Control] + [Enter]

Flash displays the selected image or .swf file in the Loader Component. Notice a new and welcome change in MX2004, the Test Movie screen is now a Tab that you can click at the top of the screen. Now you can test and return to the Flash MX 2004 Stage by clicking the Tab.

The Test Movie screen is now a Tab that you can click at the top of the screen.

Screen shot of the Stage, Timeline and Component Inspector

 

 

Back to Top