beautypg.com

Test document download performance – Adobe Flash Professional CC 2014 v.13.0 User Manual

Page 861

background image

To the top

using System.useCodePage is always a last resort.

To use the system’s code page, place the following line of ActionScript 2.0 code on Frame 1 of the Timeline:

System.useCodepage = true;

Important: A special character can appear only if the user’s computer has the character included in the font that is being used. If you are not
sure, embed the character or font in the SWF file.

The following table contains a number of commonly used Unicode escape sequences.

Character description

Unicode escape sequence

em-dash (—)

\u2014

registered sign (®)

\u00AE

copyright sign (©)

\u00A9

trademark sign (™)

\u2122

Euro sign (€)

\u20AC

backslash (\)

\u005C

forward slash (/)

\u002F

open curly brace ({)

\u007B

close curly brace (})

\u007D

greater than (<)

\u003C

less than (>)

\u003E

asterisk (*)

\u002A

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.
Note: (Flash Professional CC only) Bandwidth Profiler is unavailable with Flash Professional CC. You can choose to use Adobe Scout with Flash
Professional, instead. See

Using Adobe Scout with Flash Professional

for more information.

In simulating the downloading speed, Flash Professional 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 Professional 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.

Test download performance

1. Do one of the following:

Select Control > Test Scene or Control > Test.

If you test a scene or document, Flash Professional 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.

Select File > Open, and select a SWF file.

2. Select View > Download Settings, and select a download speed to determine the streaming rate that Flash Professional simulates. To enter

854