Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
1

how to get event press ESC when plugin's GUI is flashUI

Explorer ,
Jul 08, 2013 Jul 08, 2013

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.

TOPICS
SDK
902
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Community Beginner ,
Jun 17, 2014 Jun 17, 2014

I also have the same question. Have you known how to do it yet?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jun 20, 2014 Jun 20, 2014

Have you known how to do it yet?

Sorry. I don't know. I'm finding solution for this.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jul 01, 2014 Jul 01, 2014

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.... 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 06, 2014 Sep 06, 2014
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines