Link the sound with MySound.mld:
11
If the Library window is not already open, select Window > Library and find the sound that
you added earlier. Select the sound and right-click it to open the context menu. Select
Properties from the context menu. The Sound Properties dialog box appears:
For the Device sound option, use the file browser to find and select MySound.mld.
Click OK.
Select Insert > Timeline > Layer to create a new layer on the main Timeline. Select Modify >
12
Timeline > Layer properties and change the name of the layer to Actions.
Select Insert > Timeline > Keyframe to add a new Keyframe to the new Actions layer.
13
Click on the first Keyframe on the Actions layer and in the Actions window enter the following
14
script:
stop();
Note: If the Actions window is not already open you will need to select Window > Development
Panels > Actions
Click on the button you added to the stage and in the Actions window add the following script:
15
on(keyPress "1"){
gotoAndPlay(2);
}
Insert a Keyframe in the Actions layer where you would like the sound to stop playing. For
16
example: 200. Select this Keyframe and in the Actions window add the following script:
stop();
stopAllSounds();
Select Control > Test Movie to start the test movie player.
17
Click in the test movie player window and press the "1" key. (You may need to select Control
18
> Disable Keyboard Shortcuts before you can execute
sound from the MFi file you created in step 1.
actions.) You should hear the
keyPress
MFi sound substitution
19
Need help?
Do you have a question about the FLASH MX 2004 - FLASH LITE AUTHORING GUIDELINES FOR THE I-MODE SERVICE and is the answer not in the manual?
Questions and answers