Syntax: | the bytesStreamed of member whichFlashMember |
Type: | Cast member property |
Description: | This property indicates the number of bytes of the specified cast member that have loaded into memory. The bytesStreamed property returns a value only when the Director movie is playing. It returns an integer value. |
The bytesStreamed of member 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. |
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 |
|
Related Lingo: | bufferSize of member property, bytesStreamed of member property |
![]() |