# \[CS3\] Width 100% in html page with embedded swf

**URL:** <https://forum.kirupa.com/t/cs3-width-100-in-html-page-with-embedded-swf/279652>\
**Category:** flash\
**Created:** [January 17, 2009, 12:16am UTC](https://forum.kirupa.com/t/cs3-width-100-in-html-page-with-embedded-swf/279652 "2009-01-17T00:16:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerichowalls](https://avatars.discourse-cdn.com/v4/letter/j/8e7dd6/32.png) [@jerichowalls](https://forum.kirupa.com/u/jerichowalls)\
**Post date:** [January 17, 2009, 12:16am UTC](https://forum.kirupa.com/t/cs3-width-100-in-html-page-with-embedded-swf/279652/1 "2009-01-17T00:16:00Z")

</div>

Hi all,

I am creating a Flash project for a fundraising event and tend to test it every now and again. It is an accordion menu. It is going on a html page. I want the height to be relative to the width and the width to equal 100% of the browser window. When I set the html publish settings, I set it to 100% width & height. Then I embedded a swf using the loadmovie() method. I published it again. Everything seemed to be working OK but when my menu loads with the embedded swf, it goes back to normal size (actual size of project - 450x230). Plz help! Very Urgent!
