I am building a site and they want to have a few music selections that a person can choose to play. Can anyone recommend a tut for me. For a player complete with play and stop buttons.
flashkit.com
search for huge sound tutorial
is it not that hard
make Buttons
Labeled 1 2 3 or name them your song selecetions.
Now add your song files by >File<Import>Then your Song
Now go to library and select your Music File then right click it and click :Linkage
now name it song1
on (release) {
yosound = new Sound(this);
yosound.attachSound("song1");
yosound.start(0, 99);
}
Now if you want a stop sound button.
Make a button and add the actions
stopAllSounds();
if you want an explanation to all of it ill give it to ya if ya ask.
stopAllSounds() will stop ALL the sounds, even those assigned to buttons, so be careful…
thx guys ill try it when I get home and get back to ya