Full screen browser swf

Anyone know how to accomplish the full screen functionality they use on this site:

When you click the “fullscreen” link it takes up the entire screen with the “Press esc to exit full screen mode”. I have used this with flv players, like http://www.jeroenwijering.com/?item=JW_FLV_Player, but not with swf files.

Is this hard to do?

Hi!
First, go to publish settings in flash, and, in HTML tab, set Template to Flash Only - Allow Full Screen.
Then, create a movieclip or a button with instance name myButton, go in the main timeline and put there the following code:


myButton.onRelease = function (){
    if(Stage["displayState"]=="normal"){
        Stage["displayState"]="fullScreen";
    }else{
        Stage["displayState"]="normal";
        }
    }

(Note: the code above is for AS2.0)
Then, publish the file. To dublecheck, open the html in a text editor like notepad and see if ‘allowfullscreen’ is set to ‘true’. If so, it is OK. Now, open your file in a browser to see if it goes full screen.
(Note: If you wanna make an entire site to go fullscreen, take care: it is useless to put input textfields, like for contact page, because keyboard is disabled in fullscreen mode, but is enabled again when reverting to the normal browser mode)

Exactly what I needed, thanks for the help.

One more thing. I get a weird behavior in IE with dual monitors. If the browser window is on monitor 2 and I hit full screen, the whole thing wigs out. It works fine if it is on monitor 1. Ever have an issue with this?