Hi guys,

I want to catch a key press event inside an action. I try this way:

    .action:
        Stop();
        onKeyDown = function() {
            PreviousFrame();
        };
        onMouseUp = function() {
            NextFrame();
        };
    .end

I expected any key press will call PreviousFrame() as I'm not testing
what key was pressed,  but it doesn't work, the onMouseUp works ok...
How can I catch a key press? How can I test what key was pressed?

Thanks in advance,
regards.

--
Michel Thadeu Sabchuk
Curitiba - Brasil


_______________________________________________
Swftools-common mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/swftools-common

Reply via email to