# Help! sizing my swf to full browser

**URL:** https://forum.kirupa.com/t/help-sizing-my-swf-to-full-browser/317234
**Category:** Uncategorized
**Created:** [December 14, 2010, 4:15pm UTC](https://forum.kirupa.com/t/help-sizing-my-swf-to-full-browser/317234 "2010-12-14T16:15:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![strawberry](https://avatars.discourse-cdn.com/v4/letter/s/f19dbf/32.png) [@strawberry](https://forum.kirupa.com/u/strawberry)
#### Post date: [December 14, 2010, 4:15pm UTC](https://forum.kirupa.com/t/help-sizing-my-swf-to-full-browser/317234/1 "2010-12-14T16:15:41Z")

</div>

I have been trying to resize my swf width and height to the browser size for the past 10 days…[this is what I was able to get so far](http://www.atdesign.it/test/myMovie.html)  
looked at numerous tutorials online…but no luck with my swf  
I would like my images to fill the entire browser without the white background on the side and I would like to do it so that my images will not look distorted…

Can someone please take a look at my code and help me

```auto

Stage.scaleMode = "noScale";  
Stage.align = "TL";  
setStage();  
var stageListener:Object = new Object();  
Stage.addListener(stageListener);  
stageListener.onResize = function() {  
setStage();  
};  
function setStage() 
{  
var WIDTH:Number = Stage.width;  
var HEIGHT:Number = Stage.height;
slide.width = Stage.width;
slide.height = Stage.height;
} 

```
