User Guide
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.