Hello,
the site in question is thirdcache.com - i’ve got streaming audio playing as background music, however after someone clicks the stop all sounds button it stops, however when the background music reaches the end of it’s timeline, it starts back up again. How do i get it to stop forever? Also, how do i get this button to have two functions, off and on… without embedding the audio, I want it to start and stop the streaming audio.
Any help in this matter would be greatly appreciated.
Thanks
first issue: place a stop action on the last from of the clip your sound is playing in - so make sure the timeline extends for the full length of the sound - then place a stop() action on that frame.
for the on/off toggle type button… search this forum for “toggle button” - a common use is the use a “tog” variable set to -1 and multiply that by -1 on each click… so you get -1, 1, -1, 1 each time the button is clicked. You can run a conditional on whether the var is -1 or 1 and assign appropriate actions - hope this helps.