Jump to content
Search Community

soundPaused question

timaging test
Moderator Tag

Recommended Posts

Hi,

 

I see that there is a sample of how to toggle sound on/off from one button, but what if I would like to have one button for pause and one for resume?

 

I've got this now, but it's not working:

 

function fl_ClickToGoToWebPage01(event:MouseEvent):void
{
soundPaused:true
//	TweenMax.to(channel, 0, {pause:true});
//	SoundMixer.stopAll();
TweenMax.pauseAll();
}

 

then, if this works I will upload to the client server and see if I can get it to call an external file... seems as though there is no answer to calling a sound from the library which seems odd to me, but I've literally been looking now for 6 hours for a solution and nothing has come up.

 

thanks!

Dave

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...