Welcome Guest!

If you do not have an account yet on The Web Squeeze forums, please Register! It’s FREE and there are many benefits:

  • Receive Fast Advice
  • Learn Programming Languages
  • Get Professional Website Reviews
  • Quick Troubleshooting Assistance

> Creating A Global Mute Button?

This is a discussion on Creating A Global Mute Button?, within the Flash & Multimedia section. This forum and the thread "Creating A Global Mute Button?" are both part of the Designing Your Website category.

 
Reply to this topicStart new topic
> Creating A Global Mute Button?, Flash mute button
edd
post Jun 26 2008, 11:08 AM
Post #1


Fresh Squeezed
**

Group: Members
Posts: 15
Joined: 18-March 08
Member No.: 203



I have a container Flash movie that loads in other swf files. Some of these have videos, sounds etc loaded in different ways from simply embedded to sound objects etc.

However what I need to add to the "holder" movie is a mute button that works across the board - ie it just puts the volume to 0, but doesn't stop anything. I will also of course need "unmute" capability.

I can't find anything helpful online. stopAllSounds doesn't work, and I can't use setVolume as it's not for specific objects. Surely there must just be a "global" volume functionality?

Any help would be much appreciated.
Go to the top of the page
 
+Quote Post
Scott
post Jul 3 2008, 12:48 PM
Post #2


Fresh Squeezed
**

Group: Advisors
Posts: 36
Joined: 15-February 08
Member No.: 148



Well it the sounds are actually attached to objects you can just set the function to adjust each objects sound and vice versa...

OR

I've never done this, but it may work - instead of attaching something to an object like holder.setVolume.....

You can use stage.setVolume - which accesses the object "stage" which happens to be your entire flash application.

I've never tested this, but it is worth a shot if you are still struggling with this...
Go to the top of the page
 
+Quote Post
If you found The Web Squeeze to be helpful, please donate so we can keep this site FREE, FRESH, and fortified with Web Design & Development info!
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts 7 thesealportalteam 139 19th February 2008 - 03:34 PM
Last post by: thesealportalteam
No new   14 Monie 139 16th March 2008 - 11:27 PM
Last post by: Monie
No New Posts   4 friendd 114 31st March 2008 - 04:44 AM
Last post by: Justify
No New Posts   2 MikeHopley 92 25th April 2008 - 09:14 AM
Last post by: MikeHopley
No New Posts   2 Monie 270 12th August 2008 - 11:50 PM
Last post by: Monie