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.
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";
}