Testing Download Time
If you're planning to publish your animation on the Web, you need to know how long it takes your animation to download from a web server to somebody's computer. Chapter 20 gives you several optimization techniques, including tips for preloading content and reducing your animation's file size; but before you begin to optimize your animation, you need to know just how bad the situation is and where the bottlenecks are. The following sections show you how.
Simulating Downloads
You could set up a bank of test machines, each connected to the Internet at a different transfer speed, to determine the average download time your audience will eventually have to sit through. But Flash gives you an easier option: simulating downloads at a variety of transfer speeds with the click of a button. The simulation takes into consideration any additional, non-Flash media files that you've included in your animation, like sound and video clips.
To simulate different download speeds:
Choose Control→Test Movie→in Flash Professional.
The Flash Player (test window) appears.
Select View→Download Settings (Figure 19-6), and then, from the submenu, select the connection speed you expect your audience to be running.
Your choices range from 14.4 (1.2 KB/s) to T1 speed (131.2 KB/s). If you need to simulate a faster speed, check out Figure 19-7.
Figure 19-6. If you're used to testing your animation ...
Get Flash CS5: The Missing Manual now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.