Creating a sound bundle (Flash Professional only)

Flash Lite 2.0 provides the ability to encapsulate several device sounds of different formats into a single sound bundle. As an example, a single Flash application can contain the same sound represented in both MIDI and MFi formats. When the application is played on a device that supports MIDI audio, Flash Lite selects the MIDI sound data from the sound bundle and passes it to the device to play. Similarly, if the application is played on a device that supports only MFi, Flash Lite passes the MFi sound data to the device.

You use a utility called the Flash Lite Sound Bundler to create a sound bundle (FLS) file. You then link the FLS file to a proxy sound in your Flash Lite document, just as you would do for a single device sound. For more information about adding device sounds to your Flash Lite applications, see Using bundled device sound.

NOTE

 

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

To create a sound bundle file:

  1. Open the Flash Lite Sound Bundler application (FlashLiteBundler.exe) located in the Flash 8 installation folder (for example, boot drive/Program Files/Macromedia/Flash 8/FlashLiteBundler.exe).



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

    Another window appears that lists the contents of 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 the file in the list and click Delete.

    To delete all files in the sound bundle, click Delete All.

  5. To save the sound bundle, click Save Bundle, and choose a name and location for the FLS file.
  6. To exit the Sound Bundler, click the close button (X) in the Sound Bundler window.

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 Professional only)).