Lingo Dictionary > G-K > idleLoadMode |  |

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`