MACROMEDIA FLASH MX 2004-USING FLASH Use Manual page 42

Hide thumbs Also See for FLASH MX 2004-USING FLASH:
Table of Contents

Advertisement

When external SWF files, GIF and XML files, and variables are streamed into a player by using
ActionScript calls such as
stream rate for the main SWF file is reduced based on the reduction of bandwidth caused by the
additional data requests. It's helpful to test your document at each speed and on each computer
that you plan to support. This helps you 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. For more information, see
on page
40.
To change the settings for the SWF file created using the Test Movie and Test Scene commands,
use File > Publish Settings. For more information, see
on page
311.
To test download performance:
Do one of the following:
1.
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. (See
on page
311.) The SWF file opens in a new window and begins playing immediately.
Select File > Open, and select a SWF file.
Select View > Download Settings, and select a download speed to determine the streaming rate
2.
that Flash simulates: 14.4 Kbps, 28.8 Kbps, 56 Kbps, DSL, T1 or a user setting. To enter a
custom user setting, select Customize.
When viewing the SWF file, select View > Bandwidth Profiler to show a graph of the
3.
downloading performance.
The left side of the profiler displays information about the document, its settings, its state, and
streams, if any are included in the document.
The right section of the profiler shows the Timeline header and graph. In the graph, each bar
represents an individual frame of the document. The size of the bar corresponds to that frame's
size in bytes. The red line beneath the Timeline header indicates whether a given frame streams
in real time with the current modem speed set in the Control menu. If a bar extends above the
red line, the document must wait for that frame to load.
Select View > Simulate Download to turn streaming off or on.
4.
If you turn streaming off, the document starts over without simulating a web connection.
Click a bar on the graph to show settings for the corresponding frame in the left window and
5.
stop the document.
42
Chapter 1: Working with Flash Documents
and
loadMovie
getUrl
, the data flows at the rate set for streaming. The
"Optimizing Flash documents"
"Publishing Flash documents"
"Publishing Flash documents"

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents