Flash CS3 Documentation |
|||
| Developing Flash Lite 2.x Applications > Working with Sound, Video, and Images > Using device sound > Creating a sound bundle | |||
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. |
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.
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.
To delete all files in the sound bundle, click Delete All.
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