# Resizing window

**URL:** <https://forum.kirupa.com/t/resizing-window/19123>\
**Category:** Uncategorized\
**Created:** [April 24, 2003, 2:04pm UTC](https://forum.kirupa.com/t/resizing-window/19123 "2003-04-24T14:04:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![crazygamer](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@crazygamer](https://forum.kirupa.com/u/crazygamer)\
**Post date:** [April 24, 2003, 2:04pm UTC](https://forum.kirupa.com/t/resizing-window/19123/1 "2003-04-24T14:04:07Z")

</div>

Is it possible to resize the browser window from inside Flash MX, or do you need to do that with something like Dreamweaver. If so, how?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 2:36pm UTC](https://forum.kirupa.com/t/resizing-window/19123/2 "2003-04-24T14:36:38Z")

</div>

yes, with javascript

getURL(“java\*\*script: [javascript code goes here]; void(0);”);

do some searches for javascript and browser property adjusting like moving, resizing etc to find what to use - possibly finding what you want (whatever it is exactly) already pre-written

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 24, 2003, 2:37pm UTC](https://forum.kirupa.com/t/resizing-window/19123/3 "2003-04-24T14:37:54Z")

</div>

ok, no you cannot resize the flash move to fit your browser within flash. you need to write some javascript code.

_---------------------------------------------------  
SCRIPT language=“JavaScript”\>  
self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);  
/SCRIPT  
----------------------------------------------------_

and your table code for the flash file should start out like this

_---------------------------------------------------  
table width=“100%” border=“0” height=“100%”  
----------------------------------------------------_

there ya go  
you can aslo check out a site i did with a lot of resizeing javascript code. [http://www.hylansupply.com](http://www.hylansupply.com)
