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

how to disable keypress?

Explorer ,
Dec 30, 2012 Dec 30, 2012

Is there a way to disable keypress? Like for example, when you press the right key the character won't move and will stay on its current position.

TOPICS
ActionScript
647
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

correct answers 1 Correct answer

Community Expert , Dec 30, 2012 Dec 30, 2012

remove your keyboardevent listener.

Translate
Community Expert ,
Dec 30, 2012 Dec 30, 2012

remove your keyboardevent listener.

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 ,
Dec 30, 2012 Dec 30, 2012

It works now. thank you!

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 Expert ,
Dec 30, 2012 Dec 30, 2012
LATEST

you're welcome.

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