Lingo Dictionary > O-R > preLoad (cast member property) |
![]() ![]() ![]() |
preLoad (cast member property)
Syntax
member(
whichCastMember
).preLoad
the preLoad of member
whichCastMember
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:
put member("Rotating Chair").preload
Example
This startMovie
handler sets up a Flash movie cast member for streaming and then sets its bufferSize
property:
on startMovie member("Flash Demo").preLoad = FALSE member("Flash Demo").bufferSize = 65536 end
See also
![]() ![]() ![]() |