Streaming linked Shockwave Audio and MP3 audio files

Director streams sounds that have been compressed with Shockwave Audio as well as MP3 audio files, from either a local disk or a URL. Before you can set up a streaming Shockwave Audio cast member, you must create a Shockwave Audio or MP3 file.

To create external Shockwave Audio files, do one of the following:

For both methods, the audio settings are similar to those for using Shockwave Audio to compress internal sounds. For more information, see Compressing internal sounds with Shockwave Audio.

Note: Converting WAV to SWA does not compress IMA compressed sounds.

To stream a linked Shockwave Audio or MP3 sound:

  1. Select Insert > Media Element > Shockwave Audio.

    This process creates a cast member that controls the streaming Shockwave Audio.

  2. In the SWA Cast Member Properties dialog box that appears, click Browse and select a Shockwave Audio file on a local disk, or enter a URL in the Link Address text box.

    Unless you select a file in the same folder as the movie, the movie always links to the exact location that you specify. Be sure to link to the correct location.

  3. Set the remaining cast member properties in the Property inspector, as described in the following list:
  4. Drag the Shockwave Audio cast member to a sprite channel (not one of the sound channels) to create a sprite. Extend the sprite through all frames in which the sound should play, or use the tempo channel to make the movie wait for the end of the sound. For more information, see Synchronizing media.

    You can't place streaming audio cast members in the sound channels. The sound streams from the source location when the movie plays.