Today I tried to create a fullscreen-videoplayer using Flash CS3′s own FLVPlayback class. Everything worked fine … untill I tried to remove the videoplayer from stage while it was still loading the flv-videofile. The player wouldn’t stop streaming the file, it just kept on playing the video – even after i had removed it. I googled in hope to find an easy solution to this problem and found this post by Bluekylin.
So I tried this line:
// get the current VideoPlayer and close the NetStream getVideoPlayer(activeVideoPlayerIndex).close();
… and it really worked :)
The getVideoPlayer() method return a VideoPlayer object which offers you the opportunity to close the NetStream via close().
This line really solved the problem and stopped the file from being streamed/loaded.
Maybe this is of some help to you … cheers