# Setting the popup window size via AS

**URL:** <https://forum.kirupa.com/t/setting-the-popup-window-size-via-as/197991>\
**Category:** flash\
**Created:** [August 21, 2006, 3:53pm UTC](https://forum.kirupa.com/t/setting-the-popup-window-size-via-as/197991 "2006-08-21T15:53:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaunsept](https://avatars.discourse-cdn.com/v4/letter/k/9fc29f/32.png) [@kaunsept](https://forum.kirupa.com/u/kaunsept)\
**Post date:** [August 21, 2006, 3:53pm UTC](https://forum.kirupa.com/t/setting-the-popup-window-size-via-as/197991/1 "2006-08-21T15:53:27Z")

</div>

Hi I’m trying to build a links page on my flash site to my friend’s sites. This seems like it would be easy, but I can’t seem to figure it out…

Basically the problem is with the popup window size. I don’t want their website browser window to cover my site, so I need some sort of script within my flash site to control how big the window size of their site pops up.

I found this line of code in my searches, but it doesn’t do anything when the button is clicked:

on (release) {  
getURL(“javascript:openwin(‘[http://www.technofisch.com](http://www.technofisch.com)’, 600, 400)”);  
}

So I’m stuck. I’m also having the same problem with a PDF file. I have my resume as a PDF the pops up when the link is clicked, but I don’t know how to control how big this window is, as it is a direct link to the file and no html.

Any help is GREATLY APPRECIATED!

Thanks!

-patrick
