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

Unbinding and re-binding click action

$
0
0

Hi.

I have this totally animated button (symbol), with mouseover, mouseout, "mouseoff" and click states. I've been trying to unbind the click action from it  at 1125ms (almost at the end of the timeline) and then re-binding it again when it returns to 0ms, but with no success. The .unbind occurs only at 1125ms, where the mouseover animates a sort of "deactivated state ("mouseoff")", but when the animation returns to the beginning, the .bind doesn't work. I've also tried the .on/.off and .die/.live methods, so it must be wrong syntax or something...

So, basically I want to deactivate the button for a moment. Maybe there's a better way for going this?

 

Here´s my file.

(the .bind and .unbind methods are commented - triggers 0ms and 1125 ms)

 

Pedro


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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