stream
 
Syntax bytesStreamed:=CallIcon(@"IconTitle", #stream, numberOfBytes)
 
Type Method
 
Description  Use this method to manually stream a portion of a specified Flash movie into memory. You can optionally specify the number of bytes to stream as an integer value. If you omit the numberOfBytes parameter, Authorware attempts to stream the number of bytes set by the sprite icon's bufferSize property.

The stream method returns the number of bytes actually streamed. Depending on a variety of conditions (such as network speed or the availability of the requested data), the number of bytes actually streamed may be less than the number of bytes requested.

You can always use the stream method for a sprite icon regardless of icon's streamMode property.
 

Example  This statement streams 32,000 bytes of the Flash movie.

CallIcon(@"Flash Icon", #stream, 32000)

To Table of Contents Back to Previous document Forward to next document