# \[FMX\] resizing a movie after a "loadmovie"

**URL:** <https://forum.kirupa.com/t/fmx-resizing-a-movie-after-a-loadmovie/7615>\
**Category:** flash\
**Created:** [November 4, 2002, 3:30pm UTC](https://forum.kirupa.com/t/fmx-resizing-a-movie-after-a-loadmovie/7615 "2002-11-04T15:30:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom91](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@tom91](https://forum.kirupa.com/u/tom91)\
**Post date:** [November 4, 2002, 3:30pm UTC](https://forum.kirupa.com/t/fmx-resizing-a-movie-after-a-loadmovie/7615/1 "2002-11-04T15:30:02Z")

</div>

I am trying to do what I thought was a easy task :

I have several pictures (different size, height/width) converted into swf format.

I have a viewer application (swf too) that can load one of those swf picture on demand (like a picture album)

I created an empty movieclip (container\_mc), I set his dimensions to 100x100 (I do not want my pictures to be larger than that).  
Then I use loadmovie(“mypicture.swf”, “container\_mc”);

The problem is that :  
1 - The container\_mc is resized, and may be larger than 100x100  
2 - I want to resize it to 100x100, but when setting container\_mc.\_width = 100 and container\_mc.\_height=100 I get strange results =\> the size is modified, but not really i 100x100 pixels.

Finally, I think that If I found an application sample in MX ActionScript that browse a directory and display thumbnails (in fixed size !) of various pictures (of different sizes !) I would be happy 🙂

In fact, if Kirupa could modify his code to load swf files of different size in his photogallery sample, it would be… great !

Thanx for your help

Tom
