:crying: In Flash MX 2004 Pro. I have embedded the video in which needs to load several external FLV files. These are the problem: In my main file I have a sound object (music) and then load the video when I reduce the volume of the music of the main file to 0 that the louder the sound from FLV videos. The problem is that when the music died down to 0 to mute the sound with FLV videos to 0.
How to separate audio from FLV videos from sound of music and how to separately control the volume loaded FLV file?
This is the code that I use:
my_nc = new NetConnection();
my_nc.connect(null);
my_ns = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.play(“my_movie.flv”);
my_ns.onStatus = function(info) {
for (var i in info){
trace(i+" = "+info*);
}
if(info.code==“NetStream.Buffer.Empty” && waitingForEmpty==true){
//display a play button because the video is done
replay_btn._visible=true;
}
if(info.code==“NetStream.Play.Stop”){
waitingForEmpty=true;
}
};
waitingForEmpty=false;
replay_btn._visible=false;
replay_btn.onPress=function(){
replay_btn._visible=false;
waitingForEmpty=false;
my_ns.play(“my_movie.flv”);
}
thank in advance