User Guide

Global Functions 41
fscommand(command:St
ring,
parameters:String)
Lets the SWF file communicate with either Flash
Player or the program hosting Flash Player, such as a
web browser.
getProperty(my_mc:St
ring, property)
Returns the value of the specified property for the
movie clip my_mc.
getTimer() Returns the number of milliseconds that have elapsed
since the SWF file started playing.
getURL(url:String,
[window:String],
[method:String])
Loads a document from a specific URL into a window
or passes variables to another application at a defined
URL.
getVersion() Returns a string containing Flash Player version and
platform information.
gotoAndPlay([scene:S
tring],
frame:Object)
Sends the playhead to the specified frame in a scene
and plays from that frame.
gotoAndStop([scene:S
tring],
frame:Object)
Sends the playhead to the specified frame in a scene
and stops it.
ifFrameLoaded([scene
:String],
frame:Object)
Deprecated since Flash Player 5. This function has
been deprecated. Macromedia recommends that you
use the MovieClip._framesloaded property.
Checks whether the contents of a specific frame are
available locally.
int(value:Number) Deprecated since Flash Player 5. This function was
deprecated in favor of Math.round().
Converts a decimal number to an integer value by
truncating the decimal value.
isFinite(expression:
Object)
Evaluates expression and returns true if it is a finite
number or false if it is infinity or negative infinity.
isNaN(expression:Obj
ect)
Evaluates the parameter and returns true if the value
is NaN (not a number).
length(expression:St
ring,
variable:Object)
Deprecated since Flash Player 5. This function, along
with all the string functions, has been deprecated.
Macromedia recommends that you use the methods
of the String class and the String.length property
to perform the same operations.
Returns the length of the specified string or variable.
Modifiers Signature Description