Yet another Flash MX loader

An in depth look at building a reusable preloader for Flash MX.

click here to get more tutorials

01 Introduction
02 What should the loader do?
03 How should the preloader work? / What should it look like?
04 Useful reading / Designing the loader movie
05 What have we got so far? / Getting it to stop and play its parent
06 Setting a preload amount / Sync the loader movie with the download amount / Adding text feedback
07 Setting a maximum loader play rate / Setting a maximum load rate
08 Using the loader
09 Conclusion / About the authors / Copyright

Previous << Setting a maximum loader play rate / Setting a maximum load rate

Using the loader

All right, let's see how easy this sucker is to use!

Create a new file and open up your Library window (leave your loader.fla file open as well).

Drag your loading resource from loader.fla to your new movie. All the linkage will be set up correctly for you, but you can check it if you want. You should see that it has been set up to "Import for runtime sharing" from loader.swf.

Create some layers and add resources like you did for the test-bed.fla movie. Make sure you put a stop script in the last frame. I ended up with this:

Now go copy the code from your loader resource and paste it on to your loader in your new movie. Change your preload percent if you want.

That's it! Save and publish. Nothing more to do.

Next >> Conclusion / About the authors / Copyright

01 Introduction
02 What should the loader do?
03 How should the preloader work? / What should it look like?
04 Useful reading / Designing the loader movie
05 What have we got so far? / Getting it to stop and play its parent
06 Setting a preload amount / Sync the loader movie with the download amount / Adding text feedback
07 Setting a maximum loader play rate / Setting a maximum load rate
08 Using the loader
09 Conclusion / About the authors / Copyright

© 2003 Glasson Murray Group Pty Ltd (ACN 098 651 542), Western Australia. All rights reserved.