User Guide
299
idleLoadDone()
Syntax
idleLoadDone(loadTag)
Description
Function; reports whether all cast members with the given tag have been loaded (TRUE) or are still
waiting to be loaded (FALSE).
Example
This statement checks whether all cast members whose load tag is 20 have been loaded and then
plays the movie Kiosk if they are:
if idleLoadDone(20) then play movie("on idle")
See also
idleHandlerPeriod, idleLoadMode, idleLoadPeriod, idleLoadTag, idleReadChunkSize
idleLoadMode
Syntax
the idleLoadMode
Description
System property; determines when the preLoad and preLoadMember commands try to load cast
members during idle periods according to the following values:
• 0—Does not perform idle loading
• 1—Performs idle loading when there is free time between frames
• 2—Performs idle loading during idle events
• 3—Performs idle loading as frequently as possible
The
idleLoadMode system property performs no function and works only in conjunction with
the preLoad and preLoadMember commands.
Cast members that were loaded using idle loading remain compressed until the movie uses them.
When the movie plays back, it may have noticeable pauses while it decompresses the
cast members.
Example
This statement causes the movie to try as frequently as possible to load cast members designated
for preloading by the
preLoad and preLoadMember commands:
the idleLoadMode = 3
See also
idleHandlerPeriod, idleLoadDone(), idleLoadPeriod, idleLoadTag, idleReadChunkSize