# Universal maximise window function (independent of player)

**URL:** <https://forum.kirupa.com/t/universal-maximise-window-function-independent-of-player/325300>\
**Category:** Uncategorized\
**Created:** [October 8, 2011, 9:02am UTC](https://forum.kirupa.com/t/universal-maximise-window-function-independent-of-player/325300 "2011-10-08T09:02:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roke2468](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@roke2468](https://forum.kirupa.com/u/roke2468)\
**Post date:** [October 8, 2011, 9:02am UTC](https://forum.kirupa.com/t/universal-maximise-window-function-independent-of-player/325300/1 "2011-10-08T09:02:49Z")

</div>

Hi.

I have a flash file with a mix of embedded video and streaming video. Lots of different video in the file.

The video window is 720x400 in a flash file window of size 980 x 720.

I am wondering would it be possible to have a universal function which would maximise the 720 x 400 window (maintain proportions) and keep it there through all video changes until the reverse function was chosen?

I’m fairly new to AS3. Have read a lot but can’t figure out how to do this. Maybe I’m just being dumb and missing something? Any help appreciated.
