# Resize actionscript

**URL:** <https://forum.kirupa.com/t/resize-actionscript/239869>\
**Category:** Uncategorized\
**Created:** [September 26, 2007, 6:37pm UTC](https://forum.kirupa.com/t/resize-actionscript/239869 "2007-09-26T18:37:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rai\_kane3](https://avatars.discourse-cdn.com/v4/letter/r/e47774/32.png) [@rai\_kane3](https://forum.kirupa.com/u/rai_kane3)\
**Post date:** [September 26, 2007, 6:37pm UTC](https://forum.kirupa.com/t/resize-actionscript/239869/1 "2007-09-26T18:37:17Z")

</div>

I would love some help in trying to recreate this [http://www.inpak.co.uk/](http://www.inpak.co.uk/) where the javascript resizes a div when you choose a menu option.

I am a bit lost at the moment. I have some menu buttons and would probably create a mc which would then load external swfs once I have set the height and width of the mc.

so maybe a function where the button pressed defines the mc size.

ca anyone help or point me in a useful direction I have looked at the resize gallery posts but the size in the script is defined by the content loaded. and i dont want to do this.
