This content has been marked as final. Show 5 replies
did you use the sound object (ie, actionscript) to instantiate your sounds or did you attach your sounds to movieclips frames?
if you did the former you can control your sounds volume (and other properties) otherwise, you can't.
if you used the sound object, store the sound volume desired in a variable and use that variable in the setVolume() method of your sound objects.
Sound directly in frames, not in variable. From reading Help, I figured sound would need to be in variable to control volume. So, what about the multiple sounds. I suppose these will all have to be controlled seperately in code? Or can I set a default so that they will all play at the same volume initially?
you can't control your sound with actionscript using your current set-up. you'll either need to change the way you instantiate your sounds or forego controlling your sounds.
OK, so now I have learned how to load sound with code and control volume. Since my presentation is made up of many movie clips with their own sounds within a swf and links to other swf I think I will not be able to control all sounds from one sound control button. Looks like I will have no sound control. It would be a good thing if Flash included a method to control the OS volume control instead of only each instantiated sound.
Thanks for you replies though.
instantiated is flash lingo which approximately means, "created properly in flash".
you can control all sound objects from any location, IF those sound objects are created (instantiated) using actionscript.