# Full Screen Video

**URL:** <https://forum.kirupa.com/t/full-screen-video/265502>\
**Category:** flash\
**Created:** [July 9, 2008, 4:45pm UTC](https://forum.kirupa.com/t/full-screen-video/265502 "2008-07-09T16:45:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![urbanhumor](https://avatars.discourse-cdn.com/v4/letter/u/919ad9/32.png) [@urbanhumor](https://forum.kirupa.com/u/urbanhumor)\
**Post date:** [July 9, 2008, 4:45pm UTC](https://forum.kirupa.com/t/full-screen-video/265502/1 "2008-07-09T16:45:59Z")

</div>

Hi guys,

Im trying post my flash video full screen using actionscript 2.0. The fullscreen = true parameter is set in my html, and for some reason its still not working. Oh, and my video instance name is myVideo. Here’s the code if anyone knows the answer, id really appreciate it.

```auto
 import flash.geom.*;
 function goFullScreen() {
     
    // when going out of full screen mode 
    // we use these values
    myVideo.savedWidth = myVideo.width;
    myVideo.savedHeight = myVideo.height;
    myVideo.savedSmoothing = myVideo.smoothing;
    myVideo.savedDeblocking = myVideo.deblocking;
 
    // Set the size of the video object to the 
    // original size of the video stream
    myVideo.width = myVideo.videoWidth;
    myVideo.height = myVideo.videoHeight;
    myVideo.smoothing = false;
    myVideo.deblocking = 0;
 
    Stage["fullScreenSourceRect"] = new Rectangle(
       myVideo.x, myVideo.y, 
       myVideo.width, myVideo.height);
 
    Stage["displayState"] = "fullScreen";
 }

```
