# Flash content in new window gap issues

**URL:** <https://forum.kirupa.com/t/flash-content-in-new-window-gap-issues/74614>\
**Category:** flash\
**Created:** [December 30, 2004, 11:26pm UTC](https://forum.kirupa.com/t/flash-content-in-new-window-gap-issues/74614 "2004-12-30T23:26:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![orlandovalium](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@orlandovalium](https://forum.kirupa.com/u/orlandovalium)\
**Post date:** [December 30, 2004, 11:26pm UTC](https://forum.kirupa.com/t/flash-content-in-new-window-gap-issues/74614/1 "2004-12-30T23:26:11Z")

</div>

Help, please…  
I have designed a site using Flash MX 2003 ([www.eastboundrecordings.com](http://www.eastboundrecordings.com)) and chose the dimension 640 x 480 in Flash.  
The ‘homepage’ I created using HTML and copied some javascript to open the Flash content in a new window.  
**PROBLEM** - The Flash content does not fit snuggly in the new window. Instead the .swf sits in the bottom right and there is an ugly gap between the left/top side of the content and the edge of the window which is doing my head in. The code I used to open the content in the new window is… \<SCRIPT LANGUAGE=“JavaScript”\>  
\<!-- Begin  
function Launch(page) {  
OpenWin = this.open(page, “main”, “toolbar=no,menu,location=no,bar=no,scrollbars=no,resizable=no,width=655,height=500”);  
}  
// End --\>  
\</SCRIPT\>  
NB (The code I’m currently using is"width=655,height=500" as this looks neater than if I input 640_480 despite the flash file being published as 640_480)  
I hope this makes sense and someone can help. cheers o
