# Flv full screen

**URL:** <https://forum.kirupa.com/t/flv-full-screen/286989>\
**Category:** Uncategorized\
**Created:** [April 24, 2009, 2:57am UTC](https://forum.kirupa.com/t/flv-full-screen/286989 "2009-04-24T02:57:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mak\_Valley](https://avatars.discourse-cdn.com/v4/letter/m/c4cdca/32.png) [@Mak\_Valley](https://forum.kirupa.com/u/Mak_Valley)\
**Post date:** [April 24, 2009, 2:57am UTC](https://forum.kirupa.com/t/flv-full-screen/286989/1 "2009-04-24T02:57:56Z")

</div>

This is how i would do it in AS2…

```auto

_root.controls.fullscreen_btn.onRelease = function() {
	ns.displayFull();
	toggleFullScreen();
	trace("sdflkj");
};

Stage.scaleMode="Scale";
Stage.align = "TC"; //T:top, C: center
function toggleFullScreen(){
	if(Stage["displayState"]=="normal"){
		Stage["displayState"]="fullScreen";
	}else{
		Stage["displayState"]="normal";
	}
}

```

Can’t find documentation or tutorials on achieving this with AS3… Somebody must know the answer!
