MACROMEDIA FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH Manual page 664

Learning actionscript 2.0 in flash
Table of Contents

Advertisement

The following table shows the values you can specify for the
parameters of
fscommand()
the stand-alone player, including projectors.
A projector is a SWF file saved in a format that can run as a stand-alone application—that
is, embedding Flash Player with your content in an executable file.
Command
Arguments
None
quit
fullscreen
true
allowscale
true
showmenu
true
Path to
exec
application
To use
fscommand()
browser, you can pass any two parameters in the
parameters can be strings or expressions and are used in a JavaScript function that "catches,"
or handles, the
fscommand()
An
function invokes the JavaScript function
fscommand()
HTML page that embeds the SWF file, where
assigned by the
name
SWF file is assigned the name
myMovie_DoFSCommand
To use
fscommand()
through JavaScript:
1.
Create a new FLA file, and save it as myMovie.fla.
2.
Drag two instances of the Button component to the Stage and give them the instance
names window_btn and alert_btn, respectively, and the labels Open Window and Alert.
3.
Insert a new layer on the Timeline, and rename it Actions.
664
Working with External Data
to control the playback and appearance of a SWF file playing in
Purpose
Closes the projector.
or
Specifying
false
Specifying
or
Specifying
false
always drawn at its original size and never scaled.
Specifying
the player.
or
Specifying
false
Specifying
Settings and About Flash Player.
Executes an application from within the projector.
to send a message to a scripting language such as JavaScript in a web
function.
attribute of the
embed
, the JavaScript function invoked is
myMovie
.
to open a message box from a SWF file in the HTML page
command
sets Flash Player to full-screen mode.
true
returns the player to normal menu view.
false
sets the player so that the SWF file is
false
forces the SWF file to scale to 100% of
true
enables the full set of context menu items.
true
dims all the context menu items except
false
and
command
arguments
moviename_DoFSCommand
is the name of Flash Player as
moviename
tag or the
attribute of the
id
and
arguments
parameters. These
in the
tag. If the
object

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents