# Open window (URL) from external SWF?

**URL:** https://forum.kirupa.com/t/open-window-url-from-external-swf/111125
**Category:** Uncategorized
**Created:** [May 23, 2004, 9:17pm UTC](https://forum.kirupa.com/t/open-window-url-from-external-swf/111125 "2004-05-23T21:17:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tv2004](https://avatars.discourse-cdn.com/v4/letter/t/8e7dd6/32.png) [@tv2004](https://forum.kirupa.com/u/tv2004)
#### Post date: [May 23, 2004, 9:17pm UTC](https://forum.kirupa.com/t/open-window-url-from-external-swf/111125/1 "2004-05-23T21:17:38Z")

</div>

Hi,  
I have my main site in a .swf file which links to a external .swf - From this external .swf I would like to open a HTML pop-up window with the button action

on (release) {  
getURL("JavaScript:openWindow(“dark.htm”, “320”, “370”)  
");  
}

But it does not work at all - I have placed the correct code in my HTML file. This has worked fine before I started using external swf’s so what am I doing wrong??

You can see my test site at [www.christensen.tv/test](http://www.christensen.tv/test)

Thanks
