User Guide
934 Chapter 14: Properties
See also
state (3D)
preLoad (Member)
Usage
-- Lingo syntax
memberObjRef.preLoad
// JavaScript syntax
memberObjRef.preLoad;
Description
Cast member property; determines whether the digital video cast member specified by
whichCastMember can be preloaded into memory (TRUE) or not (FALSE, default). The TRUE
status has the same effect as selecting Enable Preload in the Digital Video Cast Member
Properties dialog box.
For Flash movie cast members, this property controls whether a Flash movie must load entirely
into RAM before the first frame of a sprite is displayed (
TRUE), or whether the movie can stream
into memory as it plays (
FALSE, default). This property works only for linked Flash movies whose
assets are stored in an external file; it has no effect on members whose assets are stored in the cast.
The
streamMode and bufferSize properties determine how the cast member is streamed into
memory.
This property can be tested and set.
Example
This statement reports in the Message window whether the QuickTime movie Rotating Chair can
be preloaded into memory:
-- Lingo syntax
put(member("Rotating Chair").preload)
// JavaScript syntax
put(member("Rotating Chair").preload);
See also
bufferSize, streamMode
preLoadEventAbort
Usage
-- Lingo syntax
_movie.preLoadEventAbort
// JavaScript syntax
_movie.preLoadEventAbort;
Description
Movie property; specifies whether pressing keys or clicking the mouse can stop the preloading of
cast members (TRUE) or not (FALSE, default). Read/write.
Setting this property affects the current movie.