Director Help

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()

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.