# AS2 flv player aspect ratio

**URL:** <https://forum.kirupa.com/t/as2-flv-player-aspect-ratio/281491>\
**Category:** flash\
**Created:** [February 9, 2009, 10:17pm UTC](https://forum.kirupa.com/t/as2-flv-player-aspect-ratio/281491 "2009-02-09T22:17:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gretchen](https://avatars.discourse-cdn.com/v4/letter/g/6de8d8/32.png) [@gretchen](https://forum.kirupa.com/u/gretchen)\
**Post date:** [February 9, 2009, 10:17pm UTC](https://forum.kirupa.com/t/as2-flv-player-aspect-ratio/281491/1 "2009-02-09T22:17:16Z")

</div>

does anyone know how to detect and maintain the aspect ratio of an incoming .flv in AS 2 so that a 4:3 video doesn’t stretch to fill up the whole space in a 16:9 player?

i’ve tried setting Media.aspectRatio and Media.autoSize to true, but i’m not getting any results. if there’s anyone who has some existing code that i could look at, i’d really appreciate it.

thanks!  
g
