# Fullscreen flv problems

**URL:** <https://forum.kirupa.com/t/fullscreen-flv-problems/286320>\
**Category:** Uncategorized\
**Created:** [April 13, 2009, 7:40pm UTC](https://forum.kirupa.com/t/fullscreen-flv-problems/286320 "2009-04-13T19:40:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spastic](https://avatars.discourse-cdn.com/v4/letter/s/41988e/32.png) [@spastic](https://forum.kirupa.com/u/spastic)\
**Post date:** [April 13, 2009, 7:40pm UTC](https://forum.kirupa.com/t/fullscreen-flv-problems/286320/1 "2009-04-13T19:40:52Z")

</div>

I’d like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I’d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.

I can’t, for the life of me, figure out how to do this with various settings—it should be easy! This is what I have–is there a better way to do things (without a custom movie player)?

My inital settings are as follows:

```auto
stage.displayState = StageDisplayState.FULL_SCREEN;
	theMovie.fullScreenTakeOver = false;

```

Then I have a function which should work–but my button won’t appear in fullscreen–Can I apply this function to the built-in fullscreen button?:

```auto
function handleClick(event:MouseEvent):void
{
    if ( !theMovie.fullScreenTakeOver )
		{
			stage.displayState = StageDisplayState.NORMAL;
			theMovie.fullScreenTakeOver = true;
			 stage.displayState=StageDisplayState.FULL_SCREEN;
		} else {
			
			theMovie.fullScreenTakeOver = false;
			stage.displayState = StageDisplayState.FULL_SCREEN;
			
		}

}

```
