import your flash audio file
-goito library-linkage
-name the file WAV1
-click the first and last checkbox(export for actionscript, and export to first frame.
ok your sound file should now start.
if you don’t want your file to start automatically the simple edit your code to say this:
mySound=new Sound()
mySound.attachsound(“WAV1”);
your file will now not start automatically.
create a button and give it these actions:
on(release){
mySound.start(0,999);
}
and to stop it create another button and give the following actions