# F5 Controlling main window with Pop up

**URL:** <https://forum.kirupa.com/t/f5-controlling-main-window-with-pop-up/35747>\
**Category:** Uncategorized\
**Created:** [November 17, 2003, 5:38pm UTC](https://forum.kirupa.com/t/f5-controlling-main-window-with-pop-up/35747 "2003-11-17T17:38:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Webdesignlab](https://avatars.discourse-cdn.com/v4/letter/w/8edcca/32.png) [@Webdesignlab](https://forum.kirupa.com/u/Webdesignlab)\
**Post date:** [November 17, 2003, 5:38pm UTC](https://forum.kirupa.com/t/f5-controlling-main-window-with-pop-up/35747/1 "2003-11-17T17:38:38Z")

</div>

Hello All,

I am trying to control the main window whilst closing a pop up window (launched from main window).

In HTML I usually put.

\<div align=“center”\>\<a href=“javascript:opener.location.href=‘[http://www.whovever.co.uk](http://www.whovever.co.uk)’;self.close()”\>  
\<font face=“Georgia, Arial, Helvetica” color="#000000"\>Click here for more\</font\>\</a\>  
\</div\>

This close the pop up and tells the main window to go to a URL.

What do I put in getURL? Flash 5

Thanks for any help.
