LoadMovieUsingStream

Syntax

procedure LoadMovieUsingStream(layer: integer; out AStream: TStream); virtual;

Description

The LoadMovieUsingStream method initializes loading of a Flash movie into the specified layer. Instead of passing a ready stream, this method returns a stream object (AStream). You should write the movie content into this stream.

When all data has been provided, call AStream.Close (or free the stream) to indicate that loading is complete.

This method is typically used for asynchronous loading scenarios where the movie content is provided progressively, for example from a network source or a dynamically generated stream.

See also: Streaming.