Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sound player

Status
Not open for further replies.
Just put your music in a movie clip


ie. first frame(empty) label "stop" STOP(action)

first song frame 2 to frame 100 frame2 label "song1" on frame100 add a STOP(action)

second song frame 101 to 199 frame 101 label "song2" and on frame 199 add a STOP(action)

etc....

On your player buttons Back, Play and Next

choose the button and put:tellTarget ("_root.my_mc") {
gotoAndPlay ("song1");
}

when you want it to stop: tellTarget ("_root.my_mc") {
gotoAndPlay ("stop");
}


for the next and previous song just add a variable

when you click just increment or decrement it..

That's it...


Have Fun...Sharky99 >:):O>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top