Skip to main content
k_bitgood
Inspiring
June 14, 2010
Question

Control volume of a Movieclip

  • June 14, 2010
  • 2 replies
  • 593 views

I was wondering if there is a way to control the volume of a movieclip directly without using the sound class?

Or is there a way to control the volume of the entire swf?

This topic has been closed for replies.

2 replies

Inspiring
June 16, 2010

I think you can control the volume of a whole movie clip, but you will need to use the Sound class.

On your main timeline

var mySound:Sound=new Sound(_root);

mySound.setVolume(10);

I believe that will set the maximum volume for the entire swf. I just tried it with a parent and a dynamically loaded swf. I set the volume for the _root and it controlled both timeline placed audio on the loaded file and code controlled audio.

Why do you not want to use the sound class?

kglad
Community Expert
Community Expert
June 14, 2010

no and probably no.