Lingo Dictionary
113
bytesStreamed
Syntax
member(
whichFlashOrSWAMember
).bytesStreamed
the bytesStreamed of member
whichFlashOrSWAMember
Description
Flash and Shockwave Audio cast member property; indicates the number of bytes of the specified
cast member that have been loaded into memory. The
bytesStreamed
property returns a value
only when the Director movie is playing. It returns an integer value.
This property can be tested but not set.
Example
This handler accepts a cast member reference as a parameter, and it then uses the
stream
command to load the cast member into memory. Every time it streams part of the cast member
into memory, it uses the
bytesStreamed
property to report in the Message window how many
bytes have been streamed.
Dot syntax:
on fetchMovie whichFlashMovie
repeat while member(whichFlashMovie).percentStreamed < 100
stream(member whichFlashMovie)
put "Number of bytes streamed:" && member(whichFlashMovie).bytesStreamed
end repeat
end
Verbose syntax:
on fetchMovie whichFlashMovie
repeat while the percentStreamed of member whichFlashMovie < 100
stream(member whichFlashMovie)
put "Number of bytes streamed:" && the bytesStreamed of member \
whichFlashMovie
end repeat
end
See also
bufferSize
,
percentStreamed
,
stream
bytesStreamed (3D)
Syntax
member(
whichCastMember
).bytesStreamed
Description
3D cast member property; indicates how much of the initial file import or the last requested file
load has loaded.
Example
This statement shows that 325,300 bytes of the cast member named Scene have been loaded.
put member("Scene").bytesStreamed
-- 325300
See also
streamSize (3D)
,
state (3D)
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...