-- Lingo syntaxcastObjRef.preLoadMode // JavaScript syntaxcastObjRef.preLoadMode;
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.
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;