
272
Chapter 11: Using Digital Video
To add the Xtra for RealMedia to your movie:
1
Select Modify > Movie > Xtras to display the Movie Xtras dialog box.
2
Select RealMedia Asset.x32 in the list.
If RealMedia Asset.x32 does not appear in the list, click the Add button, and select it in the
Add Xtras dialog box.
3
Select the Include in Projector and Download if Needed options.
4
Click OK.
Using Lingo or JavaScript syntax sound elements with
RealMedia
All the Lingo or JavaScript syntax elements in this section are documented in the main
Director
Scripting Reference
and are discussed here only as they pertain to working with RealMedia content.
For complete information, see the
Director Scripting Reference.
Supported sound elements
The following Lingo or JavaScript syntax elements operate on a sound channel and are fully
supported for sound channels playing the audio portion of a RealMedia cast member:
•
elapsedTime
•
fadeIn()
•
fadeOut()
•
fadeTo()
•
pan (Sound Channel)
•
soundBusy()
Although you can use the following Lingo or JavaScript syntax elements with a RealMedia cast
member, they cause problems when used on a sound channel. For example, you can use
member("Real").stop()
but should not use
sound(
whichChannel
).stop()
if the audio
portion of a RealMedia cast member uses
whichChannel
.
•
member
(sound property)
•
pause()
•
play()
•
stop()
You can use the following property on a sound channel playing the audio portion of a RealMedia
stream but not directly on a RealMedia cast member. For example, you can use
sound(
whichChannel
).volume = 200
, but not
member("Real").volume = 200
.
•
volume
You can set the system variable
soundEnabled
to
FALSE
to turn off RealAudio, but if you reset it
to
TRUE
, you must also call the
play
method to resume playback.
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...