Using Shockwave Player
595
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
loops the playhead to a specified frame until all the media
elements that are required for the next frame have been downloaded.
Loop until Member is Available
loops the playhead to a specified frame until a certain cast member
has been downloaded.
Loop until Media at Marker is Available
loops the playhead to a specified frame until all the media
elements for the frame at the specified marker have been downloaded.
Loop until Media in Frame is Available
loops the playhead to a specified frame until all the media
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
moves the playhead to the specified frame after a certain cast
member has been downloaded.
Jump When Media in Frame is Available
moves the playhead to the specified frame after the media
elements for a particular frame have been downloaded.
Jump When Media in Marker is Available
moves the playhead to the specified frame after the media
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
mediaReady
cast
member or sprite property. You can check for a specific cast member or the cast member that is
assigned to a specific sprite. When
mediaReady
returns
TRUE
, the cast member is available. See
mediaReady
in the Lingo Dictionary.
This property always returns
TRUE
for local files. It is useful only for movies that stream from a
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.
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...