# Need help with full-height flash

**URL:** <https://forum.kirupa.com/t/need-help-with-full-height-flash/296703>\
**Category:** flash\
**Created:** [September 18, 2009, 2:59pm UTC](https://forum.kirupa.com/t/need-help-with-full-height-flash/296703 "2009-09-18T14:59:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cry4dawn](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@cry4dawn](https://forum.kirupa.com/u/cry4dawn)\
**Post date:** [September 18, 2009, 2:59pm UTC](https://forum.kirupa.com/t/need-help-with-full-height-flash/296703/1 "2009-09-18T14:59:13Z")

</div>

Hello, I am trying to define a flash movie with a fixed width but 100% height. I have the movie setup with an onResize handler. My problem seems to be in the HTML. I can get it to go 100% width and height or have it aligned top left but not centered.

```auto

html, body { 
height: 100%; 
margin: 0; 
padding: 0; 
}
#container { 
position:absolute; 
left:0; 
top:0;
align:center;
padding:0; 
width:960px; 
height:100%; /* works only if parent container is assigned a height value */ 
color:#333; 
background:#eaeaea; 
border:1px solid #333; 
} 

```

the align:center of the container does indeed center the movie but then it no longer has a height of 100%.

Can anyone tell me what im missing here?

Thanks
