Solved

Controlling sound from one swf in another

Posted on 2007-04-02
2
124 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flash Player White Screen Facebook 5 750
Crash with shockwave flash 8 238
adobe flash plugin has crashed while listening to pandora 2 67
Flash ActionScript 6 42
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now