# Dynamic sizing but maintaining aspect ratio

**URL:** <https://forum.kirupa.com/t/dynamic-sizing-but-maintaining-aspect-ratio/253825>\
**Category:** flash\
**Created:** [March 5, 2008, 2:16pm UTC](https://forum.kirupa.com/t/dynamic-sizing-but-maintaining-aspect-ratio/253825 "2008-03-05T14:16:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wedge\_Man](https://avatars.discourse-cdn.com/v4/letter/w/f07891/32.png) [@Wedge\_Man](https://forum.kirupa.com/u/Wedge_Man)\
**Post date:** [March 5, 2008, 2:16pm UTC](https://forum.kirupa.com/t/dynamic-sizing-but-maintaining-aspect-ratio/253825/1 "2008-03-05T14:16:51Z")

</div>

Hey all,

So i have a Flash app that I want to scale according to the browser size.

In the Publish settings, I have the Dimensions set to Percent. Width and Height at 100% and Scale at Exact Fit.

If i open my app on a monitor at 1024 by 760 it scales to that size. If i open it on a 1280 by 1024, it scales acordingly.

However, when I open it on a widescreen monitor, then it scales to fill the whole thing and I get Horizontal stretching. Is there any way to have it still scale up but maintain the aspect ratio of the app?

Thanks!
