AS3 NetStream doesn't seem to close
问题 I'm using the following code to reuse a single FLVPlayback component variable. Would anyone know why the NetStream doesn't stop? public function clearVideoPlayer(newSource:String):void { if (_videoFLV) { removeChild(_videoFLV); _videoFLV.getVideoPlayer(0).close(); _videoFLV = null; } _videoFLV = new FLVPlayback(); _videoFLV.autoPlay = false; _videoFLV.autoRewind = false; _videoFLV.width = 320; _videoFLV.height = 240; _videoFLV.source = newSource; addChild(_videoFLV); } But after running the