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

Need "Sound" advice, re: pause and mute

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
DIRECTOR 6.5
Can anyone help me get my looped audio ".wav" file to continue playing when I pause an animation?
The following is the lingo I'm using to create the pause when clicking a ".gif" pause sprite.

on mouseUp
if the pauseState = TRUE then
go to the frame+1
else
pause
end if
end

ALSO:I'm trying to create a mute button with the following lingo but can't figure out how to get it to un-mute from the same button

on mouseUp
sound close 1
sound close 2
end

THANKS
 
instead of pausing the movie try makin a small loop at the end of the movie, this will make any sound play for as long as the loop continues.

As for the second question, I recon you need to make an if sentence:

try making lingo to verify if the sound in channel 1 is playing, if it is, the it should shut it down, IF NOT then it should play it on.

the only catch here is that the sound in channel one will allways start from the beginning each time it is un-mutted

Hope I was of any help

Ciao!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top