Flash Sound and Volume

esse quam videri
Revision as of 22:14, 25 May 2007 by Jeff (talk | contribs)
Jump to: navigation, search


Make a new flash document

FlashVol NewDocument.png

Import Sound file to Library

FlashVol Import.png

Select the audio file you want to import

FlashVol SelectAudioFile.png

Right click on the file in the library and select Linkage

FlashVol Linkage.png

Name check the boxes and name the Link

FlashVol LinkageName.png

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>