To add the Xtra for RealMedia to your movie:
Select Modify > Movie > Xtras to display the Movie Xtras dialog box.
1
Select RealMedia Asset.x32 in the list.
2
If RealMedia Asset.x32 does not appear in the list, click the Add button, and select it in the
Add Xtras dialog box.
Select the Include in Projector and Download if Needed options.
3
Click OK.
4
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()
portion of a RealMedia cast member uses
•
(sound property)
member
•
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
•
volume
You can set the system variable
to
, you must also call the
TRUE
272
Chapter 11: Using Digital Video
but should not use
sound(whichChannel).stop()
whichChannel
, but not
to
soundEnabled
method to resume playback.
play
.
member("Real").volume = 200
to turn off RealAudio, but if you reset it
FALSE
if the audio
.
Need help?
Do you have a question about the DIRECTOR MX 2004-USING DIRECTOR and is the answer not in the manual?
Questions and answers