I think attachAudio(false) is wrong syntax, you should pass in a
movieclip... check out the help for an example:
http://livedocs.macromedia.com/flash/8/main/00002438.html
Paul.
On 22/06/06, Elvin Tan <[EMAIL PROTECTED]> wrote:
Hi Guys,
Adding mute buttons to some of my applications, got it working fine for
mp3/sound objects.
I've a simple video streaming solution from FMS -> Flash Client.
Here's the code snippet.
nc1.showVideo = function(video) {
ns1= new NetStream(nc1);
ns1.setBufferTime(_global.buffertime);
video1.attachVideo(ns1);
video1.attachAudio(false);
video1.deblocking(_global.deblock);
video1.smoothing(_global.smoothing);
ns1.play(video);
}
(nc1 being the net connection to the FMS,)
The .atttachAudio(false); was supposed to didsable the audio, but not, it
doesnt work :(
Any ideas ?
Elvin
-
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com