Copy link to clipboard
Copied
Hi all
I implement my plugin use GUI is FlashUI (CSExentersion suite).
when I pressed ESC. My GUI close imidately.
I want to check whe n ESC press. But I can't get event pressed key for ESC
I think that my GUI close from Illustrator. But I don't know how to get event press ESC.
Thank for your help.
Copy link to clipboard
Copied
I also have the same question. Have you known how to do it yet?
Copy link to clipboard
Copied
Have you known how to do it yet?
Sorry. I don't know. I'm finding solution for this.
Copy link to clipboard
Copied
Not sure if this is actually possible. I have got the same issue while closing my Flash based extension, using swatch closed button (top right cross).
There is no way to handle the close event, unfortunately....
Copy link to clipboard
Copied
Put a trace() to print the keyCode into the stage's keydown handler and run your extension in debug mode of flash builder, you can check whether ESC is pressed or not.
However, I don't know how to prevent extension from closing neither.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now