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

Double-click in ActionScript 1

Guest
Jul 20, 2015 Jul 20, 2015

Hi,

I must create a mini-app consisting in a visual effect (moving smoke of colors) deployed on an image. Events are :

-- app shows the background image

-- visual effect starts on double-click (same-background + animation)

-- visual effect stops on double-click

-- app shows the background image again (no visual effect).

The client wants me to use an effect he provided to me.

The effect was done in ActionScript 1. Personally, I’m working with ActionScript 3 (CCS3, 4, 5).

Adapting the effect was OK, but adding the double-click created a problem : the visual effect simply stopped working.

I greatly need your help. I don’t know how to introduce the double-click (effect ON/OFF).

My deadline is almost here and I battle (without success) with this double-click since already four days.

Please, help a beginner !

TOPICS
ActionScript
444
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 , Jul 23, 2015 Jul 23, 2015

you're welcome.

p.s when using the adobe forums, please mark helpful/correct responses, if there are any.

Translate
Community Expert ,
Jul 20, 2015 Jul 20, 2015

use getTimer to detect a double click.

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
Jul 23, 2015 Jul 23, 2015

Thank you,

Everything is OK now. You helped me enormous.

Thanks again (1000 times) !

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 ,
Jul 23, 2015 Jul 23, 2015

you're welcome.

p.s when using the adobe forums, please mark helpful/correct responses, if there are any.

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
Jul 23, 2015 Jul 23, 2015
LATEST

Sorry,

I'm new in everything ...

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