# Popup page in standalone swf (no parent html page)

**URL:** <https://forum.kirupa.com/t/popup-page-in-standalone-swf-no-parent-html-page/147160>\
**Category:** Uncategorized\
**Created:** [May 7, 2005, 7:48pm UTC](https://forum.kirupa.com/t/popup-page-in-standalone-swf-no-parent-html-page/147160 "2005-05-07T19:48:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fm1](https://avatars.discourse-cdn.com/v4/letter/f/9fc29f/32.png) [@fm1](https://forum.kirupa.com/u/fm1)\
**Post date:** [May 7, 2005, 7:48pm UTC](https://forum.kirupa.com/t/popup-page-in-standalone-swf-no-parent-html-page/147160/1 "2005-05-07T19:48:18Z")

</div>

I am having a similar problem as david68 [http://www.kirupa.com/forum/showthread.php?t=94818&highlight=popup+swf](http://www.kirupa.com/forum/showthread.php?t=94818&highlight=popup+swf)

I have created a standalone swf (my swf files are NOT contained within html). When a button is clicked I would like to open a popup html page with specific dimensions. There is surely a way to do this, right? By specifying the size in the HTML document using JavaScript or CSS…or possibly using some sort of script in getURL?

I tried using JavaScript in getURL in Flash…like this somewhat…

getURL(“javascript:window.open(‘URL’, ‘win\_name’, ‘width=580,height=400,left=100,top=100’);”);

But like david68, a blank white page opens and closes itself in the speed of a blinking eye.

Any ideas? Please help! Thanks.
