Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Can I use .setTimeout within Edge Animate?

$
0
0

I want to apply a class to an HTML element outside of Edge Animate, then delay by 5 seconds before returning to 'scene1'

 

I've tried this, on the click of an element:

 

sym.$(".animation").addClass("fade-out").setTimeout(sym.play("scene1"),5000);

Viewing all articles
Browse latest Browse all 9897

Trending Articles