swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] sample embedding video


From: Pablo Rodríguez
Subject: Re: [Swftools-common] sample embedding video
Date: Tue, 02 Nov 2010 21:17:25 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc13 Thunderbird/3.1.6

On 11/02/2010 12:37 AM, Chris wrote:
On Mon, 01 Nov 2010 22:24:55 +0100
Pablo Rodríguez<address@hidden>  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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]