tags:

views:

108

answers:

1

Hi.

i have a flex application that loads flash files using SWFLoader. is there a way to control the audio volume in that swf from my flex application ?

+1  A: 

You can do it using the SoundTransform like this.

var soundTransform:SoundTransform = new SoundTransform(volume);
swfLoader.soundTransform = soundTransform;

The volume should be a Number between 0 and 1. Is this what you were looking for?

Mad Oxyn
looks great, gonna test it and let ya know.
ufk
awesome! thanks
ufk