Using compound sound

Flash Lite 1.1 provides the ability to encapsulate device-specific sounds of multiple formats into a single tagged data block. This provides content developers with the ability to create a single piece of content that is compatible with multiple devices. As an example, a single Flash application can contain the same sound represented in both MIDI and MFi formats. You can play this Flash application both on a device that supports only MIDI and on a device that supports only MFi, with each device playing back the specific sound format that it natively supports.

You use a utility called the Flash Lite Sound Bundler to bundle multiple device sounds into a single sound bundle (FLS) file. You then add the FLS file to your Flash Lite document the same way you add a standard device sound, by first importing a proxy sound into your Flash document, and specifying the sound bundle file to replace the proxy sound at publish time. For more information about adding device sounds to your Flash Lite applications, see Adding a device sound to a button.

NOTE

 

As of this writing, the Sound Bundler utility is only supported by Windows systems.

To create a sound bundle file:

  1. Locate and download the Flash Lite Sound Bundler application (FlashLiteBundler.exe) at www.adobe.com/go/developer_flashlite.

    The Sound Bundler appears as a floating window.



  2. From your desktop, drag the first sound file to be bundled into the floating window.

    The Flash Lite 1.1 Sound Bundler window appears. The upper part of the Sound Bundler window is a list of the files you added to the sound bundle. The lower part of the window contains information about the sounds in the sound bundle, including sound format, size of sound data, and filename.



  3. Drag the rest of the sound files that you want to bundle into the window.

    You can't bundle more than one file in a given audio format. For example, you can't bundle two MIDI files in the same FLS file.

  4. To delete a file from the sound bundle, select in the list of sound files and click Delete. To delete all files in the sound bundle, click Delete All.
  5. Click Save Bundle to save the FLS file.
  6. To exit from the Sound Bundler, right-click on the Sound Bundler window and select Exit.



The next step is to add the sound bundle (FLS) file to your Flash document. The process is the same as adding standard device sounds to Flash documents, except that instead of specifying a single device sound file to replace the proxy sound, you specify the FLS file that you created. For more information, see Using device sound).


Flash CS3