" />

GDT 260 Animation for the Web: Winter 2002

3.12.02

Optimizing

Bandwidth

Bandwidth: amount of data tranferred over time. bits or bytes per second. Bandwidth depends on slowest point in connection.

Users won't wait longer than 10 -15 seconds with nothing interesting happening

Streaming

Streaming: Flash movie starts playing before completely downloaded. Doesn't speed downloading, just downloads in an intelligent manner. Download what's needed first before everything else.

When flash movie loads, two things need to be sent and loaded:

Flash begins loading timeline, then loads symbols as they are encountered on the timeline.

During streaming there are 2 important points in the movie: the streamer and the playhead. The streamer marks what has been downloaded and is ready to be played. The playhead is the frame that is playing. The distance between the two is the streaming buffer. If the playhead catches up to the streamer, the movie pauses because the animation is not loaded.

Bandwidth Profiler

View > Bandwidth Profiler when testing movie (Command + Return). Shows the amount of data that needs to be loaded in each frame and how fast it will load under ideal network conditions.

Show Streaming

View > Show Streaming to see how the movie will stream across the web.

Optimizing Files

Preloaders

A preloader is a scene at the beginning of the movie that entertains the viewer while important symbols load. Most preloaders have a simple animation, or even a simple game (pong). Symbols only load once, so load them at the beginning, and they'll be reused later.