# Dynamically change stage size depending on content height

**URL:** <https://forum.kirupa.com/t/dynamically-change-stage-size-depending-on-content-height/222356>\
**Category:** flash\
**Created:** [April 12, 2007, 6:06pm UTC](https://forum.kirupa.com/t/dynamically-change-stage-size-depending-on-content-height/222356 "2007-04-12T18:06:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arckodrazen](https://avatars.discourse-cdn.com/v4/letter/a/e95f7d/32.png) [@arckodrazen](https://forum.kirupa.com/u/arckodrazen)\
**Post date:** [April 12, 2007, 6:06pm UTC](https://forum.kirupa.com/t/dynamically-change-stage-size-depending-on-content-height/222356/1 "2007-04-12T18:06:29Z")

</div>

Hi guys

I’m asking myself how I resize (or tween-resize) the size of a flash movie depending on its content.

Take a look at: [http://www.pierinc.com](http://www.pierinc.com)  
When you click on a new page, the stage size resizes depending on how large the page is.

Do I have to use javascript to do this (because I can’t find the javascript on the pier website to take a look at it).  
Or can I do this with actionscript?

Thanks in advance  
Arcko Drazen
