# Stage help

**URL:** <https://forum.kirupa.com/t/stage-help/147163>\
**Category:** Uncategorized\
**Created:** [May 7, 2005, 8:36pm UTC](https://forum.kirupa.com/t/stage-help/147163 "2005-05-07T20:36:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![g5604](https://avatars.discourse-cdn.com/v4/letter/g/54ee81/32.png) [@g5604](https://forum.kirupa.com/u/g5604)\
**Post date:** [May 7, 2005, 8:36pm UTC](https://forum.kirupa.com/t/stage-help/147163/1 "2005-05-07T20:36:34Z")

</div>

[font=verdana, arial, helvetica][size=2]Hi,

i am trying to scale a background image to the size of the browser window. heres my code. for some reason it does not fill the entire [color=red]stage[/color], any ideas?

Stage.scaleMode = “noScale”;  
Stage.align = “TL”;

background\_mc.\_width =Stage.width  
background\_mc.\_height =Stage.height

background\_mc.onResize = function() {  
background\_mc.\_width = Stage.width  
background\_mc.\_height = Stage.height

```
}

```

Stage.addListener(background\_mc);

cheers,  
G[/size][/font]
