639
streamMode
Syntax
member(
whichFlashMember
).streamMode
the streamMode of member
whichFlashMember
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
:
on startMovie
repeat with i = 1 to the number of members of castLib 1
if member(i, 1).type = #flash then
member(i, 1).streamMode = #manual
end if
end repeat
end
streamName
Syntax
member(
whichCastMember
).streamName
the streamName of member
whichCastMember
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.
Example
The following statement links the file BigBand.swa to an SWA streaming cast member. The
linked file is on the disk MyDisk in the folder named Sounds.
member("SWAstream").streamName = "MyDisk/sounds/BigBand.swa"
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...