Using the Bandwidth Profiler
In order to know how much adding sound to your files impacts download time,
you could run the Bandwidth Profiler. Basically, you make a few file
size reductions and then you use the Profiler to judge how much the changes
helped. If you make another change, use the Bandwidth Profiler again to measure the
improvements. The following Practice Session might help you understand how to
interpret the Profiler's results.
Judging Download Times
Follow these steps to see how the Bandwidth Profiler can help ;you assess how a movie might play over the Internet.

Note: Preload displays how many frames must "preload" (and how long that takes) before the movie will start playing. These estimates are based on the modem settings (found under the Debug menu).

Use the Bandwidth Profiler's Show Streaming option to watch how the movie will play. Analyze the movie frame by frame by scrubbing to view which frames are exceeding the red streaming limit.
You can use the Bandwidth Profiler's Show Streaming option to watch how your movie will play. In this fashion, you can scrub the movie frame by frame and see which frames are exceeding the red streaming limit. For your information, just because a vertical line is above the red line doesn't necessarily mean playback will pause at that frame. When it's possible, Flash MX will start to download frames before they are encountered. Since some frames have no changes viewed onscreen, Flash can start to download frames from later in the movie. Frames that have no visual changes don't take long to download; therefore, Flash can concentrate on downloading future frames. This behavior is a form of advance streaming.
The Bandwidth Profiler has an option to show such streaming in a graph similar to the Frame by Frame graph. Select View > Streaming Graph, and you'll still see each frame's vertical box in an alternating light and dark gray box presentation.
Try this, open the Keyframing file again and do a Test Movie, select View > Streaming Graph, and select Debug, 56K. The first 13 frames all take more than 1/12 of a second to download. But then in the time it takes to play frame 15, Flash can download more than two frames. As a result, the entire 60-frame movie is downloaded in the time it takes 25 frames to display. (Select View > Show Streaming for a view of this effect in real time.)
Improved Files from Bandwidth Profiler
These steps walk you through a situation where the Bandwidth Profiler can help improve a file.
The changes you'll make in these next steps will cause a differenceyou're going to optimize the curves in every drawn shape.


The last session shows that Modify > Optimize can often reduce the file size (simplifying shapes), you're still just in the stage of finding problems. So at this stage in your learning of Flash MX you realize the Bandwidth Profiler helps find the problems, but not necessarily fixes them. Something else worth knowing can be found by selecting File > Publish Settings. The next time you export the move (just do a Test Movie), you'll see an all-text version of the data from the Bandwidth Profiler appear in the output window. In addition, you'll find a text file (named similarly to your movie's name and in the same folder) with the same contents. This just provides a permanent record of the data you find in the Bandwidth PRofiler.
Finally, the Keyframing example still pauses periodically during the first 20 frames when simulating a 14.4 modem. If this is your target user and you can't find any other way to reduce the file size, you'll have to resort to using a preloader, which will load all or part of the movie to your user's hard drive before playing it. (See the next Practice Session to do just that).
Seeing a Preloader in the Bandwidth Profiler
This task has you creating a basic preloader to pause playback on the first frame until most of the movie is downloaded. Just follow these steps.




Notice in the session three exercise from above, that you didn't make the preloader wait for the entire movie to download. By simply waiting for most of the file to download, Flash will likely catch up and download the final frames in time to display them. There's no sense in making the user wait for everything to download.
Page Updated on March 2, 2003