PDA

View Full Version : Flash Volume Control


JimmyS
07-23-2007, 06:01 PM
I was wondering if the following was possible.

I have a flash doc that is basically just a menu. I also have some separate flash movies, one for each menu item. When the menu item is clicked the flash movie is played. I have the flash movies in the doc's library as a symbol.

My question is, if the doc has a volume control, will it be able to adjust the volume on the flash movie objects that are called?

I hope what I am saying is clear, I am pretty new to flash and am basically just jumping in.

_Aerospace_Eng_
07-23-2007, 06:04 PM
We would need to see the fla file to tell you more. Its likely the volume control is only meant to control one thing right now.

JimmyS
07-23-2007, 06:15 PM
So flash can only manipulate a specified sound file? There is no "master volume" that flash can manipulate?

_Aerospace_Eng_
07-23-2007, 06:20 PM
If it was coded that way then yes it could but as I said before we would need the fla file to tell for sure. Usually flash will control the sound object like this
var so:Sound = new Sound();
so.loadSound('URLtosound',true); // set to true if its a streaming sound which in most cases it is
so.setVolume(50) // volume can be set between 0 and 100.
A function could be setup to control multiple sound objects at one time.