User Guide
498
Example
This statement loads the cast member Mel Torme into memory:
member("Mel Torme").preLoadBuffer()
See also
preLoadTime
preLoadEventAbort
Syntax
the preLoadEventAbort
Description
Movie property; specifies whether pressing keys or clicking the mouse can stop the preloading of
cast members (
TRUE) or not (FALSE, default).
This property can be tested and set. Setting this property affects the current movie.
Example
This statement lets the user stop the preloading of cast members by pressing keys or clicking the
mouse button:
set the preLoadEventAbort = TRUE
See also
preLoad (command), preLoadMember
preLoadMember
Syntax
preLoadMember
member(whichCastMember).preLoad()
preLoadMember whichCastMember
member(fromCastmember).preLoad(toCastMember)
preLoadMember fromCastmember, toCastmember
Description
Command; preloads cast members and stops when memory is full or when all of the specified cast
members have been preloaded. The
preLoadMember command returns the cast member number
of the last cast member successfully loaded. To obtain this value, use the result function.
When used without arguments,
preLoadMember preloads all cast members in the movie.
When used with the
whichCastMember argument, preLoadMember preloads just
that cast member. If
whichCastMember is an integer, only the first cast is referenced. If
whichCastMember is a string, the first member with the string as its name will be used.
When used with the arguments
fromCastmember and toCastmember, the preLoadMember
command preloads all cast members in the range specified by the cast member numbers or names.
Examples
This statement preloads cast member 20 of the first (internal) cast:
member(20).preLoad()
This statement preloads cast member Shrine and the 10 cast members after it in the Cast window:
member("Shrine").preLoad(member("Shrine").number + 10)
To preload a specific member of a specific cast, use the following syntax:
member("John Boy", "Family Members").preLoad()