Using Director > Using Interactive Media Types > Streaming Flash movies with Lingo |  |

Streaming Flash movies with Lingo

In addition to the Lingo that lets you stream many of Director's media types, Director offers Lingo that specifically lets you control and monitor streaming Flash movies. For general information about using Lingo to stream media in Director, see Playing movies over the Internet overview.

| To specify whether a linked movie streams or not, set the `preLoad` property. See `preLoad (cast member property)`.
| To specify how much of a Flash cast member streams into memory at one time, set the `bufferSize` cast member property. See `bufferSize`.
| To check how many bytes of a Flash movie have streamed into memory, test the `bytesStreamed` property. See `bytesStreamed`.
| To determine how much of a Flash movie is currently streamed, test the `percentStreamed` property or check the `streamSize` function. See `percentStreamed` and `streamSize`.
| To set when Director attempts to stream part of a Flash movie, set the `streamMode` property. See `streamMode`.
| To clear an error setting for a streaming Flash movie, use the `clearError` command. See `clearError`.
| To determine whether an error occurred while streaming a Flash movie, use the `getError()` function. See `getError()`.
| To check the current state of a streaming file, test the `state` property. See `state`.
| To attempt to forcibly stream a specified number of bytes of a Flash movie, use the `stream` command. See `stream`.