Ifframeloaded Function; Int Function - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

ifFrameLoaded function

ifFrameLoaded([scene:String], frame) {
statement(s);
}
Deprecated since Flash Player 5. This function has been deprecated. Macromedia
recommends that you use the
Checks whether the contents of a specific frame are available locally. Use
start playing a simple animation while the rest of the SWF file downloads to the local
computer. The difference between using
lets you add custom
_framesloaded
Availability: ActionScript 1.0; Flash Player 4
Parameters
[optional] - A string that specifies the name of the scene that must be loaded.
scene:String
- The frame number or frame label that must be loaded before the next
frame:Object
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
Converts a decimal number to an integer value by truncating the decimal value. This function
is equivalent to
Math.floor()
parameter is negative.
value
Availability: ActionScript 1.0; Flash Player 4
Parameters
- A number to be rounded to an integer.
value:Number
Returns
- The truncated integer value.
Number
See also
round (Math.round method)
64
ActionScript language elements
MovieClip._framesloaded
_framesloaded
or
statements.
if
else
if the
parameter is positive and
value
,
floor (Math.floor method)
property.
ifFrameLoaded
and
ifFrameLoaded
Math.round()
Math.ceil()
,
ceil (Math.ceil method)
to
is that
.
if the

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents