Hi there
In ActionScript 2.0, I am trying to make my application resize to Full Screen mode (for Flash Player 9). It goes to full screen correctly, with the typical message “Press ESC to exit Full Screen mode”.
What I need to do though is toggle a few elements’ visibility on the stage.
So when I go to to Full screen mode I do
function goFullScreen()
{
Stage[“displayState”] = “fullScreen”;
bar_mc._visible = false;
}
Now when I press the ESC key in Fullscreen mode, I have no idea what method gets called… and was hoping someone here would know.
I need to find out what method is being called so I can do something like
if ( Stage[“displayState”] == “normal”) {
bar_mc._visible = true;
}
but I dont know where to insert the code above, because I have no idea what listener gets called when you press that ESC key… So if anyone knows, please help!
Much appreciated, and thank you for taking the time to read this…
- Tehsin Bhayani