Solved

Controlling sound from one swf in another

Posted on 2007-04-02
2
126 Views
Last Modified: 2010-04-03
I have a Flash movie that is playing an MP3 file. It's used to play background music within a standard web page. There's an "On" and an "Off" button to toggle the audio on and off. FLA can be downloaded here:

www.precisiondev.net/temp/music.fla

I need to create a second Flash movie that will turn the sound off in the first movie. This will be used in popup pages that contain their own sound (e.g. a QuickTime video) and need to ensure that there is no other sound playing from the other movie. The video will not be in a Flash file, but I'd like to have an "invisible" Flash movie on the page just to turn sound off in the main page.

Any pointers on accomplishing this task?

0
Comment
Question by:g_ferr
2 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 125 total points
ID: 18841983
are u using the sound object? if you are you can simply use the stopAllSounds(); to turn off all sounds .

see the help file for sound object.
0
 

Author Comment

by:g_ferr
ID: 18844036
Didn't realize it was this simple when calling from a completely separate swf. Thanks for the help.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question