you tried myvid.attachVideo(null) ?
Matthew Gaiser wrote:
Hi everyone,
Does anyone know how to get rid of a flv that is loaded into the
Video_Object in flash?
The only way that has worked for me is the following, and if I take out
the pause or seek it doesnt work! Seems really weird to me.
The bad thing is that although this is the only way it seems to work
and it causes a "flash" or blink/flicker when it clears.
I really hope someone can share a better way with me!
// my_video is a Video_Object on stage I am loading the flv into,
my_ns is the netstream
clearFLV = function() {
my_ns.pause(true);
my_ns.seek(0);
cvINT = setInterval(clearVideo, 100);
function clearVideo() {
clearInterval(cvINT);
my_video.clear();
my_ns.clear();
}
}
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders