ifFrameLoaded

Availability

Flash Player 3. The ifFrameLoaded action was deprecated in Flash 5; Macromedia recommends using the MovieClip._framesloaded property.

Usage

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

Parameters

scene An optional string specifying the name of the scene that must be loaded.

frame The frame number or frame label that must be loaded before the next statement is executed.

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

Returns

Nothing.

Description

Deprecated action; 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 allows you to add your own if or else statements.

See also

MovieClip._framesloaded