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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

audio loop

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a .wav file playing in the background as the intro to my site plays. how do I loop just the audio so when the animation ends the music continues? Because at the end of the animation buttons appear to navigate my site. Also, how do I create a button to stop the background music when clicked, then clicked again starts the music?
thanks
 
If your animation is a pre cursor to a graphical user interface, and you want the music to play after the animation is finished, the best way is to make the sound loop a seperate swf file and onload, load it into the first swf. and do the same in the second swf file.
If you do that it will also make it easy to create a load, unload function for a button, to control playback.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top