# (auto)close Flash-window when opening URL

**URL:** https://forum.kirupa.com/t/auto-close-flash-window-when-opening-url/39805
**Category:** flash
**Created:** [January 11, 2004, 5:17pm UTC](https://forum.kirupa.com/t/auto-close-flash-window-when-opening-url/39805 "2004-01-11T17:17:16Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![HausMaus](https://avatars.discourse-cdn.com/v4/letter/h/67e7ee/32.png) [@HausMaus](https://forum.kirupa.com/u/HausMaus)
#### Post date: [January 11, 2004, 5:17pm UTC](https://forum.kirupa.com/t/auto-close-flash-window-when-opening-url/39805/1 "2004-01-11T17:17:16Z")

</div>

Hi

I want to make an actionscript where, at the end of my Flash-movie, the Flash-window will close ‘automatically’ after the getURL-action is performed. Can someone tell me how to do this?  
Like, in the last frame, I got so far:

* * *

**stop();**  
**getURL(“[http://www.somewhere.com](http://www.somewhere.com)”);**

* * *

And then what?..  
Thanks for helping me out!
