# Resizing the aspect ratio of an MC

**URL:** <https://forum.kirupa.com/t/resizing-the-aspect-ratio-of-an-mc/218542>\
**Category:** Uncategorized\
**Created:** [March 8, 2007, 5:11pm UTC](https://forum.kirupa.com/t/resizing-the-aspect-ratio-of-an-mc/218542 "2007-03-08T17:11:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyg3r](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tyg3r/32/1341_2.png) [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Post date:** [March 8, 2007, 5:11pm UTC](https://forum.kirupa.com/t/resizing-the-aspect-ratio-of-an-mc/218542/1 "2007-03-08T17:11:08Z")

</div>

[SIZE=3] [/SIZE]  
[FONT=Times New Roman][SIZE=3]Hi[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]I’m having troubles with a full screen website I’m working on. Using mc\_tween2.as and materials from [/SIZE][/FONT][[FONT=Times New Roman][SIZE=3][COLOR=#0000ff]www.laco.wz.cz[/COLOR][/SIZE][/FONT]](http://www.laco.wz.cz/)[FONT=Times New Roman][SIZE=3] I bumped into the following issue to do with resizing the aspect ratio of an MC. Curse my maths![/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[SIZE=3][FONT=Times New Roman]

```auto
  //movieClip.command(“what to change”, what to change it to, speed in seconds, ease type, delay);
  cornImg.tween("_width", Stage.width/100*30, 1, "easeoutBack");
  cornImg.tween("_height", Stage.height/100*30*cornImg.width/100*30, 1, "easeoutBack");

```

[/FONT][/SIZE][FONT=Times New Roman][SIZE=3][/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]That line there, resizes the MC to 30% of the stage. But if the stage has been set to have a very small width for example, the MC will effectively copy that aspect ratio and give it a very distorted look. [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]I THINK I need the MC to resize according to ratio’s of the stage… NOT percentage. [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]So if the stage has resized to 4/20th it’s size, so must the MC.[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]You can view the problem by checking it out at [/SIZE][/FONT][[FONT=Times New Roman][SIZE=3][COLOR=#800080]www.simonsmultimedia.com[/COLOR][/SIZE][/FONT]](http://www.simonsmultimedia.com/)[FONT=Times New Roman][SIZE=3] (doesn’t work in firefox[/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3] [/SIZE][/FONT]  
[FONT=Times New Roman][SIZE=3]Play around with your browsers dimensions to see.[/SIZE][/FONT]

Mark
