# \[AS2\] How to manually resize FLVPlayback to full screen?

**URL:** <https://forum.kirupa.com/t/as2-how-to-manually-resize-flvplayback-to-full-screen/307921>\
**Category:** flash\
**Created:** [April 13, 2010, 3:24pm UTC](https://forum.kirupa.com/t/as2-how-to-manually-resize-flvplayback-to-full-screen/307921 "2010-04-13T15:24:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Technoh](https://avatars.discourse-cdn.com/v4/letter/t/a88e57/32.png) [@Technoh](https://forum.kirupa.com/u/Technoh)\
**Post date:** [April 13, 2010, 3:24pm UTC](https://forum.kirupa.com/t/as2-how-to-manually-resize-flvplayback-to-full-screen/307921/1 "2010-04-13T15:24:40Z")

</div>

I am developing for a project which I inherited, coded in Actionscript 2 but deployed for Flash 9 (I personally use CS4). Since this is AS2, there is no fullScreen option in the FLVPlayback component. The system I am working with uses multiple layers and movieclips in order to display an interface. Sometimes a video will be displayed as well; the video is published in a standalone SWF, using the FLVPlayback component which loads the FLV file.

I created a button/movieclip combination which I would like to use to resize the FLVPlayback component to “full screen”. What I do is this:

- read the browser window’s available height and width using javascript
- on the onRelease event for the button, resize the FLVPlayback to the maximum available size and place it at 0, 0.
- on the other onRelease event for the button, resize the FLVPlayback back to its original dimension and place it back to its original coordinates.

My problem is twofold: the FLVPlayback skin disappears when I resize the FLVPlayback and it seems that the FLVPlayback is taking more space because I cannot see some of the content of the FLV itself.

Does anyone have any experience with manually resizing FLVPlayback components? Any help would be greatly appreciated.
