# Resize MC on .swf load

**URL:** https://forum.kirupa.com/t/resize-mc-on-swf-load/197562
**Category:** flash
**Created:** [August 17, 2006, 1:21pm UTC](https://forum.kirupa.com/t/resize-mc-on-swf-load/197562 "2006-08-17T13:21:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ollie1](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ollie1/32/2180_2.png) [@ollie1](https://forum.kirupa.com/u/ollie1)
#### Post date: [August 17, 2006, 1:21pm UTC](https://forum.kirupa.com/t/resize-mc-on-swf-load/197562/1 "2006-08-17T13:21:17Z")

</div>

I am wanting to make a gallery, and instead of the container mc just jumping to change size to fit the loaded contents, I am wanting it to scale tween between the two sizes.

e.g. a .swf that is 200x200 to a .swf that is 300x600

Currently I’m using the following code to load in my external.swf  
s

```auto
on (press) {
_root.createEmptyMovieClip("blank_mc",100 );
with (_root.blank_mc){
_x=10;
_y=200;
}
loadMovie("xxx.swf", _root.blank_mc);
}

```

whats the easiest way to do this?

Thanks for your time,

-ollie
