# Dynamically Change the size of a Frame onload

**URL:** <https://forum.kirupa.com/t/dynamically-change-the-size-of-a-frame-onload/197601>\
**Category:** flash\
**Created:** [August 17, 2006, 4:56pm UTC](https://forum.kirupa.com/t/dynamically-change-the-size-of-a-frame-onload/197601 "2006-08-17T16:56:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jbailey](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jbailey/32/2380_2.png) [@jbailey](https://forum.kirupa.com/u/jbailey)\
**Post date:** [August 17, 2006, 4:56pm UTC](https://forum.kirupa.com/t/dynamically-change-the-size-of-a-frame-onload/197601/1 "2006-08-17T16:56:47Z")

</div>

I want to dynamically load an image into a box/frame (got that figured out) and then have the box/frame resize according to the image’s dimensions (how do I do that?).
