2011-03-22 4 views
0

그래서 스트리밍 된 비디오를 음소거하려고합니다. 지금은 같은 디렉토리에서 하나 작업하고 있습니다.Actionscript-2에서 스트리밍 비디오의 모든 소리 음소거

var flvURL = 'flvInThisDirectory.flv'; 
var netConn:NetConnection = new NetConnection(); 
netConn.connect(null); 
var netStream:NetStream = new NetStream(netConn); 
my_video2.attachVideo(netStream); 
    netStream.setBufferTime(0); 
    netStream.play(flvURL); 

    //all of the below are different, supposedly valid attempts to mute sound for 
    //this stream.. none of them work 

    var nsst = new SoundTransform(0); 
    nsst.volume = 0; 
    netStream.soundTransform=nsst; 
    netStream.fromSrvr.attachAudio(false); 
    var so = new Sound(netStream); 
    so.setVolume(0);  
    stopAllSounds(); 

하지만 여전히 소리가 있습니다. URL이 원격 인 경우에도 마찬가지입니다. 어떤 아이디어?

답변

0

Woops.

"var so = new Sound (netStream);"

이 점을 확인 "VAR 너무 = 새로운 사운드();"

나에게도이 점을 지적하지 않아.

관련 문제