Flash CS3 Documentation |
|||
| Developing Flash Lite 1.x Applications > Working with Sound > Using device sound > 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. |
The Sound Bundler appears as a 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.
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.
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