FLV Adjust Sound

Is there a way to adjust the sound volume of a FLV file? I’ve got an flv playing into an embedded video component. I’m not using the media playback component (which has the sound adjustment built in). Rather I’m using the embedded video component so I can load in movies with variables. I’m using the attachVideo method and am creating a video object called my_Video. It seems as if I should be able to call the object like my_Video.setVolume(20) or whatever.

I’m creating the netConnection just like the help outlines.

var netConn:NetConnection = new NetConnection();
// Create a local streaming connection:
netConn.connect(null);
// Create a NetStream object and define an onStatus() function:
var netStream:NetStream = new NetStream(netConn);

// Attach the NetStream video feed to the Video object:
my_Video.attachVideo(netStream);

Thanks for any and all help.

Joshua

You should use the MovieClip.attachAudio() method which you see at this link.


// Clip is the instance name of the movie clip 
// that contains the video object "my_video".
_root.Clip.my_video.attachVideo(_root.myNetStream);
_root.Clip.attachAudio(_root.myNetStream);
var snd = new Sound("_root.Clip");
//To adjust the audio:
_root.snd.setVolume(100);

Dene.