User Guide
idleLoadPeriod 805
idleLoadMode
Usage
-- Lingo syntax
_movie.idleLoadMode
// JavaScript syntax
_movie.idleLoadMode;
Description
Movie property; determines when the preLoad() and preLoadMember() methods try to load
cast members during idle periods. Read/write.
Idle periods can be one of 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 property performs no function and works only in conjunction with the
preLoad() and preLoadMember() methods.
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:
-- Lingo syntax
_movie.idleLoadMode = 3
// JavaScript syntax
_movie.idleLoadMode = 3;
See also
on idle, Movie, preLoad() (Movie), preLoadMember()
idleLoadPeriod
Usage
-- Lingo syntax
_movie.idleLoadPeriod
// JavaScript syntax
_movie.idleLoadPeriod;
Description
Movie property; determines the number of ticks that Director waits before trying to load cast
members waiting to be loaded. Read/write.