# Resizing .SWF for Firefox

**URL:** https://forum.kirupa.com/t/resizing-swf-for-firefox/186516
**Category:** flash
**Created:** [April 21, 2006, 10:02pm UTC](https://forum.kirupa.com/t/resizing-swf-for-firefox/186516 "2006-04-21T22:02:07Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![wkrienke](https://avatars.discourse-cdn.com/v4/letter/w/4491bb/32.png) [@wkrienke](https://forum.kirupa.com/u/wkrienke)
#### Post date: [April 21, 2006, 10:02pm UTC](https://forum.kirupa.com/t/resizing-swf-for-firefox/186516/1 "2006-04-21T22:02:07Z")

</div>

I need to resize the .swf file. I know I can adjust it to 100% in the html and all and can do it w/ the stage class. But it still messes up in Firefox…tiny little movie at the top. not cool. if anyone could help i would appreciate it.

much love

---

<div class="post-metadata">

### Author: ![codemonkeypete](https://avatars.discourse-cdn.com/v4/letter/c/b77776/32.png) [@codemonkeypete](https://forum.kirupa.com/u/codemonkeypete)
#### Post date: [April 21, 2006, 10:58pm UTC](https://forum.kirupa.com/t/resizing-swf-for-firefox/186516/2 "2006-04-21T22:58:29Z")

</div>

hey. that firefox bug got me too…what we did to counter it was wrap the swf in a table. if u are like me though, and u hate tables, u can try using a bit of ascript to make the content inside your swf grow/shrink - relative to your browser dimensions. “stage.width” - take a look in your help files, its very straight forward. something like:  
[AS]  
stageW = stage.width;  
stageH = stage.height;  
myContent.\_height = stageH - 20;  
myContent.\_width = stageW - 20;  
stage.align = “CC”;  
//this just centres our content and makes it grow with the browser dimensions  
[/AS]
