Using sounds in Flash documents for mobile devices
(Flash Professional only)
With Flash MX Professional 2004, you can include event sounds when authoring documents for
playback on mobile devices. The general process and tools required to embed sound are described
in this section. For detailed information on authoring for mobile devices, see the Content
Development Kits on the Mobile and Devices Development Center at
devnet/devices.
Flash does not support sound file formats used for mobile devices (such as MIDI and others);
when authoring for mobile devices, you must temporarily place a proxy sound in a supported
format such as MP3, WAV, or AIFF in the Flash document. The proxy sound in the document is
then linked 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 adding sounds to Flash documents for playback on mobile devices, remember the
following information:
•
This feature works with event sounds only.
•
The Effect, Sync, Edit, and Loop options are not supported on mobile devices.
•
You must specify an external device sound file for each sound in a document.
•
As with all external files, the device sound file must be available during the publishing process
but is not needed by the SWF file for playback.
To add an event sound to a Flash document for playback on a mobile device:
Import a sound file to the library in the Flash document (File > Import > Import to Library).
1.
For information on supported file formats and importing procedures, see
on page
202.
In the Library panel, right-click (Windows) or Control-click (Macintosh) the sound, and
2.
select Properties.
In the Device sound text box, enter a path or click the folder icon and browse to the location
3.
where the mobile device sound file is located. Click OK to close the Property inspector.
Add a button instance to the Stage from the Buttons common library (Window > Other
4.
Panels > Common Libraries > Buttons). For more information on the common libraries, see
"Working with common libraries" on page
Add the linked sound to the Hit frame of the button. For more information, see
5.
to buttons" on page
Open the Publish Settings dialog box (File > Publish Settings), and click the Flash tab.
6.
204.
Using sounds in Flash documents for mobile devices (Flash Professional only)
21.
www.macromedia.com/
"Importing sounds"
"Adding sounds
213
Need help?
Do you have a question about the FLASH MX 2004-USING FLASH and is the answer not in the manual?