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

I've created a button with an looped animation...

$
0
0

... that I want to only play when mousedover, and stop (hide) on mouseout.

 

Right now it does stop and start once I mouseover the button the first time. But when it loads it's playing not hidden. Here's the code I have at this point:

 

MouseOver

var mySymbolObject = sym.getSymbol("ButtonSlider");

sym.$("ButtonSlider").css({opacity:1});

 

MouseOut

var mySymbolObject = sym.getSymbol("ButtonSlider");

sym.$("ButtonSlider").css({opacity:0});

 

Click

sym.play(0000);

 

I've tried a hide trigger on the time line with the same code on the buttons, but the ButtonSlider stays hidden.

 

Thanks for you help in advance.


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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