Flash CS3 Documentation |
|||
| Developing Flash Lite 1.x Applications > Working with Sound > Using device sound | |||
A device sound is a sound that is encoded in the device's native audio format, such as MIDI or MFi. Flash Lite does not let you directly import device sound files into a Flash document; rather, you first import a proxy sound in a supported format such as MP3, WAV, or AIFF. You then link the proxy sound to an external mobile device sound, such as a MIDI file. During the document publishing process, the proxy sound is replaced with the linked external sound. The SWF file generated contains the external sound and uses it for playback on a mobile device.
When using device sounds in Flash Lite, keep the following constraints in mind:
You can also bundle multiple device sounds together in a single file. This is useful if you're creating the same content for several devices that support different device sound formats. For more information, see Using compound sound.
In Flash Lite 1.1, a device sound can play at any time. In Flash Lite 1.0, a device sound can only play in response to a user pressing a key on their device. For more information, see Triggering device sounds in Flash Lite 1.0.
The Timeline in the Flash authoring tool displays sound waveforms, as the following image shows. Waveforms for sounds that are linked to external device sounds are colored green; waveforms for sounds that are not linked to external device sounds are colored blue.
This section contains the following topics:
Flash CS3