FLASH CS3
User Guide
443
(Optional) Specifies whether the browser should start Java when loading Flash Player for the first time. The default
value is
false
if this attribute is omitted. If you use JavaScript and Flash on the same page, Java must be running for
the
fscommand()
function to work. However, if you use JavaScript only for browser detection or another purpose
unrelated to
fscommand()
actions, you can prevent Java from starting by setting
SWLIVECONNECT
to
false
. To force
Java to start when you are not using JavaScript, explicitly set the
SWLIVECONNECT
attribute to
true
. Starting Java
substantially increases the startup time for a SWF file; set this tag to
true
only when necessary. Applies to the
embed
tag only.
Use the
fscommand()
action to start Java from a stand-alone projector file.
play attribute/parameter
Value
true | false
Template variable:
$PL
Description
(Optional) Specifies whether the application begins playing immediately on loading in the web browser. If your Flash
application is interactive, let the user initiate play by clicking a button or performing another task. In this case, set
the
play
attribute to
false
to prevent the application from starting automatically. The default value is
true
if this
attribute is omitted.
loop attribute/parameter
Value
true | false
Template variable:
$LO
Description
(Optional) Specifies whether the content repeats indefinitely or stops when it reaches the last frame. The default
value is
true
if this attribute is omitted.
quality attribute/parameter
Value
low | medium | high | autolow | autohigh | best
Template variable:
$QU
Description
(Optional) Specifies the level of anti-aliasing to be used. Because anti-aliasing requires a faster processor to smooth
each frame of the SWF file before it is rendered on the viewer’s screen, select one of the following values based on
whether your priority is speed or appearance:
Low
Favors playback speed over appearance and never uses anti-aliasing.
Autolow
Emphasizes speed at first but improves appearance whenever possible. Playback begins with anti-aliasing
turned off. If Flash Player detects that the processor can handle it, anti-aliasing is turned on.
Autohigh
Initially emphasizes playback speed and appearance equally, but sacrifices appearance for playback speed
if necessary. Playback begins with anti-aliasing turned on. If the frame rate drops below the specified frame rate, anti-