Is there a way to stop Actions with Delay?
September 16, 2014 12:00 AM
Hi
I´m creating a title with full of mp3´s and Actions with delays. But now my problem is that I want to stop the delayed Actions if Another Button with Actions is pressed. Is there any genious .JS way to do this?
Thanks
Discussion (4)
Oh... I just realized that there is no need for delayed Actions because events in mp3´s works just fine in mobile devices :eek:
@timk 61791 wrote:
You can use a variable to stop actions from being run, e.g. stop_delayed_action, initial value = 0
1. Delayed action
On: Your_trigger
Action: Your_action
Target: Your_target
Delay: 3,0
Condition: Only if "stop_delayed_action" is equal to 0
If you modify the variable to "1" (anything but "0") while the 3,0 second delay is running the action won't be executed.
Tim
Thanks!
Of course I didn´t got that obvious solution in my mind =) It will work.
You can use a variable to stop actions from being run, e.g. stop_delayed_action, initial value = 0
1. Delayed action
On: Your_trigger
Action: Your_action
Target: Your_target
Delay: 3,0
Condition: Only if "stop_delayed_action" is equal to 0
If you modify the variable to "1" (anything but "0") while the 3,0 second delay is running the action won't be executed.
Tim
Now I got another project where this question is relevant. Does anybody have a trick to stop Actions on current page?
Thanks :o
Discussions have been disabled for this post