Attach sound

I’m sure this is a stupid question, but I can’t quite figure it out.

All I want to do is have a song start playing that is in the library… I just don’t know how to trigger it, it’s identifier is song.

I did search the forum, just didn’t find what i needed.
thanks a lot

Ok… I just drug an instance of it onto the frame i wanted, but if there is a better way of doing it let me know… thanks again

well how about you make a button and on the down section you grag from your library to your down part the song ?? and just put the numer of loop you want that appear on the music properties.


//make sound object
_root.mySound = new Sound();
//attach the song with the identifier "song"
_root.mySound.attachSound("song");
//start the song at second 0 and loop it 99 times
_root.mySound.start(0,99);

Later,
–Elios

lol elios stop the dynamic madness… lmao great link!