Music on off and choice of song buttons

Any tutorials on that? much appreciated(sp).

I want to make music on/off/and choose song buttons.

Start by opening a new document.

Step 1
on layer one frame one give the FRAME actions as follows:

mySound=new Sound()
mySound.attachsound(“WAV1”);
mySound.Start(0,999);

Step 2 - Link the imported mp3

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

on(release){
mySound.stop();
}

http://www.kennybellew.com/

i found that helpful, and i hope it works for you:)

thanx!!! to uhh both of you

your welcome,

Welcome to the forums to. :slight_smile:

thanx … again…lol

no prob man