User Guide

64 ActionScript language elements
ifFrameLoaded function
ifFrameLoaded([scene:String], frame) {
statement(s);
}
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. Use
ifFrameLoaded to
start playing a simple animation while the rest of the SWF file downloads to the local
computer. The difference between using
_framesloaded and ifFrameLoaded is that
_framesloaded lets you add custom if or else statements.
Availability: ActionScript 1.0; Flash Player 4
Parameters
scene:String [optional] - A string that specifies the name of the scene that must be loaded.
frame:Object - The frame number or frame label that must be loaded before the next
statement is executed.
See also
,
addListener (MovieClipLoader.addListener method)
int function
int(value:Number) : 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. This function
is equivalent to
Math.floor() if the value parameter is positive and Math.ceil() if the
value parameter is negative.
Availability: ActionScript 1.0; Flash Player 4
Parameters
value:Number - A number to be rounded to an integer.
Returns
Number - The truncated integer value.
See also
round (Math.round method), floor (Math.floor method), ceil (Math.ceil method)