Checking Whether Media Elements Are Loaded With Lingo - MACROMEDIA DIRECTOR MX-USING DIRECTOR MX Use Manual

Table of Contents

Advertisement

Looping behaviors
Looping behaviors make the playhead return (loop) to a frame or stay on the current frame until
specified media elements have been downloaded and then continue to the next frame. Attach a
looping behavior to a frame in the script channel, not to a sprite. The following looping behaviors
are accessible by selecting Internet > Streaming from the Library List menu in the Library palette:
Loop until Next Frame is Available
elements that are required for the next frame have been downloaded.
Loop until Member is Available
has been downloaded.
Loop until Media at Marker is Available
elements for the frame at the specified marker have been downloaded.
Loop until Media in Frame is Available
elements that are required for a certain frame have been downloaded.
Jumping behaviors
Jumping behaviors make the playhead skip to a specified frame or marker after certain media
elements have been downloaded. Attach a jumping behavior to a frame in the script channel,
not to a sprite.
Jump When Member is Available
member has been downloaded.
Jump When Media in Frame is Available
elements for a particular frame have been downloaded.
Jump When Media in Marker is Available
elements for the frame at a particular marker have been downloaded.

Checking whether media elements are loaded with Lingo

Director has several options that let an initial portion of a movie start playing as soon as the required
data and cast members are available. You can use Lingo to check whether media elements have been
downloaded from a network by testing the following:
Whether a specific cast member is loaded before the movie proceeds
Whether the cast members used in a specific frame are loaded before the frame plays
Checking whether a cast member or sprite is loaded
To determine whether a specified cast member is available locally, you use the
member or sprite property. You can check for a specific cast member or the cast member that is
assigned to a specific sprite. When
in the Lingo Dictionary.
mediaReady
This property always returns
remote server. Because playback can begin before the entire movie has been downloaded, you must
make sure that necessary media elements have been downloaded as the movie plays.
loops the playhead to a specified frame until all the media
loops the playhead to a specified frame until a certain cast member
loops the playhead to a specified frame until all the media
loops the playhead to a specified frame until all the media
moves the playhead to the specified frame after a certain cast
moves the playhead to the specified frame after the media
moves the playhead to the specified frame after the media
returns
mediaReady
for local files. It is useful only for movies that stream from a
TRUE
mediaReady
, the cast member is available. See
TRUE
Using Shockwave Player 595
cast

Advertisement

Table of Contents
loading
Need help?

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

This manual is also suitable for:

Director mx

Table of Contents