User Guide
1018 Chapter 14: Properties
Description
Flash cast member property; controls the way a linked Flash movie cast member is streamed into
memory, as follows:
• #frame (default)—Streams part of the cast member each time the Director frame advances
while the sprite is on the Stage.
• #idle—Streams part 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—Streams part of the cast member into memory only when the stream command is
issued for that cast member.
This property can be tested and set.
Example
This startMovie script searches the internal cast for Flash movie cast members and sets their
streamMode properties to #manual:
-- Lingo syntax
on startMovie
repeat with i = 1 to castLib(1).member.count
if member(i, 1).type = #flash then
member(i, 1).streamMode = #manual
end if
end repeat
end
// JavaScript syntax
function startMovie() {
i = 1;
while( i < (castLib(whichCast).member.count) + 1)
var tp = member(i, whichCast).type;
if (tp = "flash") {
member(i, 1).streamMode = symbol("manual");
i++;
}
}
}
streamName
Usage
-- Lingo syntax
memberObjRef.streamName
// JavaScript syntax
memberObjRef.streamName;
Description
Shockwave Audio (SWA) cast member property; specifies a URL or filename for a streaming cast
member. This property functions the same as the
URL member property.
This property can be tested and set.