Detailed instructions for use are in the User's Guide.
[. . . ] Developing Flash Lite Applications
Trademarks 1 Step RoboPDF, ActiveEdit, ActiveTest, Authorware, Blue Sky Software, Blue Sky, Breeze, Breezo, Captivate, Central, ColdFusion, Contribute, Database Explorer, Director, Dreamweaver, Fireworks, Flash, FlashCast, FlashHelp, Flash Lite, FlashPaper, Flash Video Endocer, Flex, Flex Builder, Fontographer, FreeHand, Generator, HomeSite, JRun, MacRecorder, Macromedia, MXML, RoboEngine, RoboHelp, RoboInfo, RoboPDF, Roundtrip, Roundtrip HTML, Shockwave, SoundEdit, Studio MX, UltraDev, and WebHelp are either registered trademarks or trademarks of Macromedia, Inc. and may be registered in the United States or in other jurisdictions including internationally. Other product names, logos, designs, titles, words, or phrases mentioned within this publication may be trademarks, service marks, or trade names of Macromedia, Inc. or other entities and may be registered in certain jurisdictions including internationally. [. . . ] To do this, you attach the proxy sound to the Down frame in a button symbol's timeline. You then associate the device sound that you want to play with the proxy sound. A completed version of the application named button_sound_complete. fla is located in the flash_install_dir/Tutorials and Samples/Samples/Flash Lite/Sound/ folder.
To add a device sound to a Flash document:
1.
Create a new document from the Flash Lite 1. 0 Symbian Series 60 document template, and save it as device_sound. fla. For more information about using the Flash Lite document templates, see "Using Flash Lite document templates (Flash Professional Only)" in Getting Started with Flash Lite.
2.
Select File > Import > Import to Library. Locate the flash_install_dir/Tutorials and Samples/Samples/Flash Lite/Sound/ folder, and select the proxy. wav file. This sound file acts as the proxy sound for the device sound that you want to include. Select Window > Common Libraries > Buttons. This opens an external library that contains prebuilt button symbols. In the Buttons library, double-click the Circle Buttons folder to open it.
3.
4.
Using device sound (Flash Professional Only)
51
5. 7.
In the Timeline, select the layer named Content in the Timeline. Drag the button symbol named Play from the buttons library to the Stage. Double-click the new button to open it edit mode. The Timeline changes to show the button's frames named Up, Over, Down, and Hit. Select Insert > Timeline > Layer to create a new layer. Select Modify > Timeline > Layer Properties, and change the name of the layer to Sound. the Down frame in the Sound layer and press the F6 function key to insert a new keyframe.
8. Select
New keyframe
11.
With the new keyframe selected in the Timeline, in the Property inspector, select proxy. wav from the Sound pop-up menu. This attaches the proxy sound to the keyframe.
Property inspector
12. b.
link the proxy sound with the actual device sound file, do the following: In the Library, double-click the proxy. wav symbol to open the Sound Properties dialog box. In the Sound Properties dialog box, click the folder icon to the right of the Device sound text box to open the Select Device Sound dialog box.
52
Working with Sound
c.
Browse to the flash_install_dir/Tutorials and Samples/Samples/Flash Lite/Sound/ and select the file named hi_hat. mid.
i
d. 13.
Click OK.
Select Control > Test Movie to start the Flash Lite emulator and test your SWF file. In the emulator, press the Down Arrow key on the keypad to give the Play button focus, and then press the Select key to play the sound.
Triggering device sounds in Flash Lite 1. 0
In Flash Lite 1. 0, a device sound can only play in response to a user pressing a key on their device. [. . . ] The emulator detected a MFI device sound with a Fujitsu extension, which is not supported by the selected content type on this device. The emulator detected a MFI device sound with a Mitsubishi extension, which is not supported by the selected content type on this device. The emulator detected a MFI device sound with an NEC extension, which is not supported by the selected content type on this device. The emulator detected a MFI device sound with a Panasonic extension, which is not supported by the selected content type on this device. [. . . ]