Solved

Controlling sound from one swf in another

Posted on 2007-04-02
2
127 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

740 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