# Stop preloading FLV when going elsewhere

**URL:** <https://forum.kirupa.com/t/stop-preloading-flv-when-going-elsewhere/313266>\
**Category:** flash\
**Created:** [August 25, 2010, 8:35am UTC](https://forum.kirupa.com/t/stop-preloading-flv-when-going-elsewhere/313266 "2010-08-25T08:35:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guykes](https://avatars.discourse-cdn.com/v4/letter/g/ea5d25/32.png) [@Guykes](https://forum.kirupa.com/u/Guykes)\
**Post date:** [August 25, 2010, 8:35am UTC](https://forum.kirupa.com/t/stop-preloading-flv-when-going-elsewhere/313266/1 "2010-08-25T08:35:31Z")

</div>

Hi all, i’m having a problem with NetConnection/NetStream/Video. I’m preloading an FLV, but when i click another navigation item, i want the FLV to stop loading/buffering. I’ve tried closing al connections/streams and clear the video with the following code, but it keeps preloading :

```auto

public function unloadStream():void {
	trace("unloadStream called");
	stream.close();
	connection.close();
	video.clear();
}

```

Anyone an idea to completely stop preloading an FLV that hasn’t fully loaded yet???

Thanks a bunch!
