Solved

Controlling sound from one swf in another

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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 how to record live broadcast.
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.

759 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