On 11/02/2010 12:37 AM, Chris wrote:
On Mon, 01 Nov 2010 22:24:55 +0100
Pablo Rodríguez<[email protected]> wrote:
I have created a small presentation [...]
PS Key 'f' doesn't seem to work when toggling between full and normal screen.
Thanks for reporting this, Chris.
I'm afraid it doesn't work and I don't know why.
The code seems right to me:
fs_listen=new Object();
fs_listen.onKeyDown = function() {
if ((Key.getAscii() == 70) || (Key.getAscii() == 102)) {
if(Stage.displayState == "normal"){
Stage.displayState="fullScreen";
} else {
Stage.displayState="normal";
}
}
};
Key.addListener(fs_listen);
Any ideas?
Thanks for your help,
Pablo
--
http://www.ousia.tk