# How do automatically close the netStream?

**URL:** <https://forum.kirupa.com/t/how-do-automatically-close-the-netstream/166658>\
**Category:** Uncategorized\
**Created:** [October 21, 2005, 4:56pm UTC](https://forum.kirupa.com/t/how-do-automatically-close-the-netstream/166658 "2005-10-21T16:56:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leahgrace](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@leahgrace](https://forum.kirupa.com/u/leahgrace)\
**Post date:** [October 21, 2005, 4:56pm UTC](https://forum.kirupa.com/t/how-do-automatically-close-the-netstream/166658/1 "2005-10-21T16:56:23Z")

</div>

I have a bunch of buttons, that when pressed, play an external FLV video. I’m using a NetStream connection to play the video, but I want the NetStream to automatically close when the video is done playing. How do I do this??

Any help is much appreciated!
