Ifframeloaded() - MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 1.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

Description
Function; sends the playhead to the specified frame in a scene and stops it. If no scene is
specified, the playhead is sent to the frame in the current scene.
You can use the
scene
clips or other objects in the document.
Example
In the following example, when the user clicks a button to which
the playhead is sent to Frame 5 in the current scene, and the SWF file stops playing:
on(keyPress "8") {
gotoAndStop(5);
}

ifFrameLoaded()

Availability
Flash Lite 1.0.
Usage
ifFrameLoaded([scene,] frame) {
statement(s);
}
Operands
An optional string specifying the name of the scene to be loaded.
scene
The frame number or frame label to be loaded before the next statement can execute.
frame
The instructions to execute if the specified frame, or scene and frame,
statement(s)
are loaded.
Description
Function; checks whether the contents of a specific frame are available locally. Use the
function to start playing a simple animation while the rest of the SWF file
ifFrameLoaded
downloads to the local computer. You can also use the
download progress of an external SWF file. The difference between using
and
ifFrameLoaded
20
Flash Lite Global Functions
parameter only on the root timeline, not within timelines for movie
is that
_framesloaded
gotoAndStop()
_framesloaded
lets you add custom
if
is assigned,
property to check the
_framesloaded
or
statements.
else

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents