Syntax: |
the streamMode of member whichFlashMember |
Type: |
Cast member property |
Description: |
This property controls the way a linked Flash movie cast member is streamed into memory. The streamMode of member property can have these values: |
|
 |
#frame Stream a portion of the cast member each time the Director frame
advances while the sprite is on the stage.
|
 |
#idle Stream a portion of the cast member each time an idle event is generated,
or at least once per Director frame while the sprite is on the stage.
|
 |
#manual Stream a portion of the cast member into memory only when the
stream command is issued for that cast member.
|
|
|
The streamMode of member property can be tested and set. The default setting is
#frame.
|
Example: |
This startMovie script searches the internal cast for Flash movie cast members and sets their streamMode property to #manual. |
|
on startMovie
repeat with i = 1 to the number of members of castLib 1
if the type of member i of castLib 1 = #flash then
set the streamMode of member i = #manual
end if
end repeat
end
|
 |
|