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

Enthusiast ,
Aug 12, 2021 Aug 12, 2021

Copy link to clipboard

Copied

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

Views

22

Likes

Translate

Translate

Report

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 Professional ,
Aug 12, 2021 Aug 12, 2021

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

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