For the last couple of days I've been working on a flash page that has video and i want to make it full screen but there are other flash elements that i don't want to go full screen. Here is my code:

Stage.align = "TL";
Stage.scaleMode = "noScale";


// ---> Create a new listener object
someListener = new Object();
var $stage:Object = new Object();

// ---> Define the resize function...
$stage.onResize = function() {

// ---> first, get the new dimensions of the stage....
var $width:Number = Math.round(Stage.width);
var $height:Number = Math.round(Stage.height);

// ---> now, set the bg movieclip's w & h to the stage dimensions...
bg._width = $width;
bg._height = $height;
bg._x = 0;
bg._y = 0;

Key.addListener(someListener);

};

someListener.onKeyDown = function (){
if (Key.isDown(Key.ESCAPE)){
//Puts symbol back to original spot
bg._width = 188;
bg._height = 97;
bg._x = 55;
bg._y = 122;
Key.removeListener(someListener);
}}
//////////////Button///////////////

on (release) {
Stage["displayState"] = "fullScreen";
$stage.onResize();
}


Please help me what I'm i doing wrong, this code works almost, it goes to full screen mode but when i hit the escape button it resizes the symbol to the size of the flash document. If i click the flash document and hit escape then it will resize to what i want!