How make a button inactive after the click ?
hi,
how can make button inactive after clik on ? need becasue have 1 button play symbol (made nice course https://blogs.adobe.com/edge/2012/07/18/tutorial-leveraging-independent-symbol-timelines/) it's not working when button in symbol there animation, it's working when buttons symbol on stage , on top of on symbols, when clik on works , play symbol want after still active can't place button @ exact same place of first because play first button , need put 20 buttons, can me please ? buttons empty rectangle don't talk turn of visibility turn of th "activity"
thanks lot
you can use unbind , bind.
here used in 1 of compositions:
| sym.$('bigcloud').bind('click.myevent',function(){ | |
| $(this).unbind('click.myevent'); | |
| sym.getsymbol('cloudarrow').play(); | |
| sym.$('bigcloud').css('z-index',50); | |
| sym.$('btnprecipitation').css('z-index', 120); |
});
my question is: why using many buttons? have same button need using arrays , function update according symbol want play.
More discussions in Edge Animate CC
adobe
Comments
Post a Comment