• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • Last Modified:

Controlling sound from one swf in another

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
g_ferr
Asked:
g_ferr
1 Solution
 
blue-genieCommented:
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
 
g_ferrAuthor Commented:
Didn't realize it was this simple when calling from a completely separate swf. Thanks for the help.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now