Show/ Hide element based on Fullscreen listener?

Hey, playing with a slideshow and trying to hide a button based on the status of the flash movie… normal or fullscreen. If it’s normal, I want the button to show. If it’s fullscreen, I want the button to be hidden.

This is what I have so far…


listenerObject = new Object();
listenerObject.onFullScreenChange = function(eventObject):Void {
    if (eventObject.data == "fullScreen") {
        // insert code here
    } else if (eventObject.data == "normal") {
        // insert code here
    }
}
my_slideshow.addEventListener("onFullScreenChange", listenerObject);

gallery_btn.onRelease = function() {
    fscommand("fullscreen", true);
};

What the right code to show and hide “gallery_btn”?