Difference between revisions of "Flash Sound and Volume"
esse quam videri
(New page: Category:Sound for Interaction Make a new flash document Image:FlashVol_NewDocument.png Import Sound file to Library Image:FlashVol_Import.png <csharp> mySound = new Sound()...) |
|||
Line 2: | Line 2: | ||
Make a new flash document | Make a new flash document | ||
+ | |||
[[Image:FlashVol_NewDocument.png]] | [[Image:FlashVol_NewDocument.png]] | ||
Import Sound file to Library | Import Sound file to Library | ||
+ | |||
[[Image:FlashVol_Import.png]] | [[Image:FlashVol_Import.png]] | ||
+ | |||
+ | Select the audio file you want to import | ||
+ | |||
+ | [[Image:FlashVol_SelectAudioFile.png]] | ||
+ | |||
+ | Right click on the file in the library and select Linkage | ||
+ | |||
+ | [[Image:FlashVol_Linkage.png]] | ||
+ | |||
+ | Name check the boxes and name the Link | ||
+ | |||
+ | [[Image:FlashVol_LinkageName.png]] | ||
+ | |||
+ | Press f9 or Window/Actions to open the actionscript editor in the first frame | ||
+ | |||
+ | type | ||
<csharp> | <csharp> |
Revision as of 22:14, 25 May 2007
Make a new flash document
Import Sound file to Library
Select the audio file you want to import
Right click on the file in the library and select Linkage
Name check the boxes and name the Link
Press f9 or Window/Actions to open the actionscript editor in the first frame
type
<csharp> mySound = new Sound(); //New sound object called mySound mySound.attachSound("StringBender"); //set mySound = to the named instance in the library </csharp>