Streaming Flash movies with Lingo
In addition to the Lingo that lets you stream many of the Director 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 Chapter 27, "Using Shockwave
Player," on page 591. For more information on specific Lingo functions and commands, see the
Lingo Dictionary.
•
To specify whether a linked movie streams or not, set the
•
To specify how much of a Flash cast member streams into memory at one time, set the
cast member property.
bufferSize
•
To check how many bytes of a Flash movie have streamed into memory, test the
bytesStreamed
•
To determine how much of a Flash movie is currently streamed, test the
property or check the
•
To set when Director attempts to stream part of a Flash movie, set the
•
To clear an error setting for a streaming Flash movie, use the
•
To determine whether an error occurred while streaming a Flash movie, use the
function.
•
To check the current state of a streaming file, test the
•
To attempt to forcibly stream a specified number of bytes of a Flash movie, use the
command.
Playing back Flash movies with Lingo
Lingo lets you control how a Flash movie plays back and whether the Flash movie retains its
interactivity.
Controlling Flash movie playback with Lingo
You can use Lingo to control a Flash movie's tempo, to specify which frame plays, and to start,
stop, pause, and rewind the Flash movie. For more information, see the Lingo Dictionary.
•
To control the tempo of a Flash movie, set the
•
To determine the original frame rate of a Flash movie, test the
•
To determine the number of frames in a Flash movie, test the
•
To determine the frame number associated with a label in a Flash movie, use the
function.
•
To play a Flash movie starting from a specified frame, set the
command.
goToFrame
•
To set whether a Flash movie starts playing immediately when the Flash sprite appears on the
Stage, set the
pausedAtStart
•
To check whether a Flash movie is playing or paused, test the
•
To rewind a Flash movie to frame 1, use the
•
To stop a Flash movie at its current frame, use the
300
Chapter 11
property.
function.
streamSize
property.
property.
preLoad
clearError
property.
state
and
fixedRate
playBackMode
frameRate
frameCount
frame
playing
command.
rewind sprite
command. .
stop
percentStreamed
property.
streamMode
command.
getError()
stream
properties.
property.
property.
findLabel()
property or use the
property.
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers