Although Flash is great at creating bandwidth friendly files, even Flash files don't load instantaneously, and that can cause unexpected problems. Imagine that you have a Flash movie with a really slick navigational interface that loads on the first frame of your movie. Imagine what happens if a user presses one of your navigational buttons before the frame where the content lives actually loads. Oops. Bad user experience. Wouldn't it be better to set the file up so that the user doesn't see the button until you know the content has finished downloading? What if you had a large soundtrack file in the first frame? Remember that a frame won't play until all the content for the frame has downloaded. Someone hits your site and sits there and sits there until the sound has downloaded and starts to play ( assuming you're not streaming it). You could create a better user experience by letting your visitors know what's going on. People are more likely to wait for a file to download if you tell them that they need to do so. You really want to make them happy? Tell them how long they'll need to wait. That's where preloaders come in. Preloaders use ActionScript to let you put your movie on "pause" until you've loaded enough of the content for your movie to play back properly. In this chapter, you take a look at different ways to approach preloading your Flash content:
Now, roll up your sleeves and get to work. |