
264
Chapter 11: Using Digital Video
Authoring tips
Review the following guidelines before you begin creating RealMedia cast members and
assembling your movie.
•
Whenever possible, refer to sprites rather than cast members in Lingo or JavaScript syntax.
Because future versions of Director may enable sprite-level playback of RealMedia cast
members, referring to sprites may help ensure that your movies are forward-compatible
with Director.
•
After you create a RealMedia cast member, play the movie once to obtain and save the
duration
,
height
, and
width
properties of the RealMedia cast member, and then lay out the
rest of your movie. These properties are not known until the cast member is played, and the
values initially displayed in the Property inspector are placeholders.
•
When using RealMedia cast members, it is a good idea to loop the playing of the cast member
or sprite in a limited number of frames in the movie. The reason for this is that the Score is
frame-based not time-based, which makes it difficult to determine the frame span for the sprite
or cast member in the Score. This is true for sprites and cast members of all media types, but
especially for streaming RealMedia sprites and cast members that are subject to network
congestion and rebuffering.
•
RealPlayer is not designed to play concurrent streams, and since RealAudio and RealVideo files
in Director content are played by an embedded RealPlayer engine, playing more than one
RealMedia cast member at the same time is not supported.
•
If the RealMedia cast member in your movie references a local file instead of a remote URL, be
sure that the file path you specified in the Property inspector is relative to the final document,
or that you update the file path with the new location of the file before publishing your movie.
All RealMedia content must live on a server authorized to serve RealMedia streaming content.
For more information about serving RealMedia content, see the RealProducer Help installed
with the RealProducer program. Then visit the developer pages of the RealNetworks website
(
www.realnetworks.com/devzone
).
Creating RealMedia cast members
As with other media types, there are three ways to create a RealMedia cast member: insert the
RealMedia content using Insert > Media element, import the remote or local RealMedia file using
File > Import, or use the New Cast Member (+) button in the RealMedia viewer. The instructions
for importing remote and local files differ slightly.
When you initially create a RealMedia cast member, the values listed for the height, width, rect,
and duration properties in the Property inspector are placeholder values. The actual values of
these properties remain unknown until the cast member is played and saved for the first time. For
more information, see
“Obtaining dynamic RealMedia cast member properties” on page 266
.
Before following these instructions, make sure the Property inspector is open (Window >
Property Inspector).
Содержание DIRECTOR MX 2004-USING DIRECTOR
Страница 1: ...DIRECTOR MX 2004 Using Director...
Страница 16: ...16 Chapter 1 Introduction...
Страница 82: ...82 Chapter 3 Sprites...
Страница 98: ...98 Chapter 4 Animation...
Страница 134: ...134 Chapter 5 Bitmaps...
Страница 242: ...242 Chapter 10 Sound and Synchronization...
Страница 274: ...274 Chapter 11 Using Digital Video...
Страница 290: ...290 Chapter 12 Behaviors...
Страница 302: ...302 Chapter 13 Navigation and User Interaction...
Страница 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Страница 392: ...392 Chapter 16 Working with Models and Model Resources...
Страница 418: ...418 Chapter 18 Movies in a Window...
Страница 446: ...446 Chapter 22 Managing and Testing Director Projects...