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

Can I create an instant trigger that only works if another instant is activated?

Enthusiast ,
Aug 12, 2021 Aug 12, 2021

So I want to create an interactive video with buttons in which each button would be linked to an animation. 

 

Say I have:

Start button.

Stop button.

Advance button.

Retract button.

 

The advance and retract motion buttons won't work unless you have the start button activated, and everything would reset back to original position if the stop buttom is pushed.

 

Is there any information on how to create conditions for certain instances to work and not work? 

TOPICS
ActionScript , Code , How to
126
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 ,
Aug 12, 2021 Aug 12, 2021
LATEST

you add listeners when you want a button to work (or use its mouseEnabled property) and you remove listeners when you want it to no longer work (or use its mouseEnabled property).

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