About preloading external media

ActionScript provides several ways to preload or track the download progress of external media. To preload SWF and JPEG files, use the MovieClipLoader class, which provides an event listener mechanism for checking download progress. This class is new in Flash Player 7. For more information, see Preloading SWF and JPEG files.

To track the download progress of MP3 files, use the Sound.getBytesLoaded() and Sound.getBytesTotal() methods; to track the download progress of FLV files, use the NetStream.bytesLoaded and NetStream.bytesTotal properties. For more information, see Preloading MP3 and FLV files.