beautypg.com

Test document download performance – Adobe Flash Professional CS3 User Manual

Page 499

background image

FLASH CS3

User Guide

493

Test document download performance

Flash Player attempts to meet the frame rate you set; the actual frame rate during playback can vary on different
computers. If a document that is downloading reaches a particular frame before the frame’s required data is
downloaded, the document pauses until the data arrives.

To view downloading performance graphically, use the Bandwidth Profiler, which shows how much data is sent for
each frame according to the modem speed you specify.

In simulating the downloading speed, Flash uses estimates of typical Internet performance, not the exact modem
speed. For example, if you select to simulate a modem speed of 28.8 Kbps, Flash sets the actual rate to 2.3 Kbps to
reflect typical Internet performance. The profiler also compensates for the added compression support for SWF files,
which reduces the file size and improves streaming performance.

When external SWF files, GIF and XML files, and variables are streamed into a player by using ActionScript calls
such as

loadMovie

and

getUrl

, the data flows at the rate set for streaming. The stream rate for the main SWF file is

reduced based on the reduction of bandwidth that the additional data requests cause. Test your document at each
speed and on each computer that you plan to support to ensure that the document doesn’t overburden the slowest
connection and computer for which it is designed.

You can also generate a report of frames that are slowing playback and then optimize or eliminate some of the content
in those frames.

To change the settings for the SWF file created using the Test Movie and Test Scene commands, use File > Publish
Settings.

See also

“Optimize Flash documents” on page 485

“Publishing overview” on page 419

“Debugging ActionScript 1.0 and 2.0” on page 401

“Debugging ActionScript 3.0” on page 411

Test download performance

1

Do one of the following:

Select Control > Test Scene or Control > Test Movie.

If you test a scene or document, Flash publishes the current selection as a SWF file using the settings in the Publish
Settings dialog box. The SWF file opens in a new window and begins playing immediately.

forward slash (

/

)

\u002F

open curly brace (

{

)

\u007B

close curly brace (

}

)

\u007D

greater than (

<

)

\u003C

less than (

>

)

\u003E

asterisk (

*

)

\u002A

Character description

Unicode escape sequence