you are in: codestackercodes [RSS]full screen button

full screen button Delicious Email

show/hide lines
   1  fullScreen_btn.onRelease = fullScreen_btn.onReleaseOutside = toggleFullScreen;
   2  	fullScreen_btn.onRollOver = onRollOverHandler;
   3  	fullScreen_btn.onRollOut = onRollOutHandler;
   4  
   5  	function onRollOverHandler()
   6  	{
   7  	}
   8  
   9  	function onRollOutHandler():Void
  10  	{
  11  
  12  	}
  13  
  14  	function toggleFullScreen():Void
  15  	{
  16  		if( Stage["displayState"] == "normal"){
  17  			goFullScreen();
  18  		} else {
  19  			exitFullScreen();
  20  		}
  21  	}
  22  	function goFullScreen():Void
  23  	{
  24  		   Stage["displayState"] = "fullScreen";
  25  	}
  26  
  27  	function exitFullScreen():Void
  28  	{
  29  	   Stage["displayState"] = "normal";
  30  	}
created by leozera — 22 January 2009 — get a short url — tags: actionscript fullscreen embed

Comments



We dont send spam :)

If checked, it's highlights your comment
simple_captcha.jpg
Are you a human? Type the code from the image