[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Swftools-common] OnKeyPress
From: |
michelts |
Subject: |
[Swftools-common] OnKeyPress |
Date: |
Thu, 12 Jan 2006 10:13:25 -0200 |
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] OnKeyPress,
michelts <=