De-I > ifFrameLoaded

ifFrameLoaded

Syntax

ifFrameLoaded(scene, frame) {
statement;}
ifFrameLoaded(frame) {
statement;}

Arguments

scene The scene that is being queried.

frame The frame number or frame label to load before the next statement is executed.

Description

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 movie downloads to the local computer. The difference between using _framesloaded and ifFrameLoaded is that _framesloaded allows you to add if, or else statements, while ifFrameLoaded action allows you to specify a number of frames in one simple statement.

Player

Flash 3 or later. The ifFrameLoaded action is deprecated in Flash 5; use of the _framesloaded action is encouraged.

See also

_framesloaded