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

Actionscript 2 and 3 - multiple clicks on a single button

Guest
Feb 07, 2013 Feb 07, 2013

I am trying to create a single button that can take a single, double and triple mouse click.

For example. I click the button once, and it goes to a scene. Another time, I click the same button twice (like a double click) and it goes to another scene. Finally, I click that button 3 times (click, click, click) and it goes to another scene.

Any help would be welcomed.

TOPICS
ActionScript
912
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 , Feb 07, 2013 Feb 07, 2013

you'll need to use a timer for the triple tick in both as2 and as3 and you'll need to use a timer for a double click, too for as2.

Translate
Community Expert ,
Feb 07, 2013 Feb 07, 2013

you'll need to use a timer for the triple tick in both as2 and as3 and you'll need to use a timer for a double click, too for as2.

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
Guest
Feb 10, 2013 Feb 10, 2013

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 ,
Feb 11, 2013 Feb 11, 2013
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