Flash Lite 2.x and 3.0 ActionScript Language Reference

ifFrameLoaded function

ifFrameLoaded( [scene,] frame) { statement(s); }

Deprecated since Flash Player 5. This function has been deprecated. Adobe 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.

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.

statement(s):Object - The instructions to execute if the specified scene, or scene and frame, are loaded.

See also

addListener (MovieClipLoader.addListener method)