# Dynamically change .swf object height

**URL:** <https://forum.kirupa.com/t/dynamically-change-swf-object-height/309935>\
**Category:** flash\
**Created:** [May 28, 2010, 2:17am UTC](https://forum.kirupa.com/t/dynamically-change-swf-object-height/309935 "2010-05-28T02:17:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fbterpstra](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@fbterpstra](https://forum.kirupa.com/u/fbterpstra)\
**Post date:** [May 28, 2010, 2:17am UTC](https://forum.kirupa.com/t/dynamically-change-swf-object-height/309935/1 "2010-05-28T02:17:19Z")

</div>

Hi all

I am wanting to dynamically change the height of my .swf file at runtime using as3, much like this site [http://www.uniqlo.com/us/explorer.html](http://www.uniqlo.com/us/explorer.html)

I’ve done a little research, and I believe the answer lies in accessing the container that the .swf object is in in the HTML file.  
However, I am just starting to learn HTML/Java so I have no idea how to go about doing this from within flash.  
Ideally I would like to end up with a method I can call from within flash i.e.  
stageResize = 3000;

If anyone could help I would really appreciate it.
