preLoadMode

Usage

-- Lingo syntax
castObjRef.preLoadMode

// JavaScript syntax
castObjRef.preLoadMode;

Description

Cast library property; determines the preload mode of a specified cast library. Read/write.

Valid values of preLoadMode are:

Setting this property has the same effect as setting Load Cast in the Cast Properties dialog box.

Example

The following statement tells Director to load the members of the cast named Buttons before the movie enters frame 1:

-- Lingo syntax
castLib("Buttons").preLoadMode = 1

// JavaScript syntax
castLib("Buttons").preLoadMode = 1;

See also

Cast Library