Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 87561

Disable click

$
0
0

Hi all!

I have a box that animates when clicked and a separate button that resets this animation.

 

I'm trying to prevent subsequent clicks so that the animation doesn't play again after the first click.

 

i tried

     sym.play();

     sym.stop("end");

which worked, but it also skipped the animation and went straight to "end" (haha).

 

thx for any help!


Viewing all articles
Browse latest Browse all 87561

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>