writing an if-then statement


i write if-then statement hide element (image of pause button) when main timeline stopped. have play forward button when pressed switch pause button. same happens play reverse button. way buttons toggles...press once plays , press again , stops. have working fine, there several stop triggers throughout timeline, , when animation stopped pause/play button still in pause button mode, user not able restart animation. there many of these stop triggers make practical add hide command each hide pause button (thus making play button underneath accessable), love if write statement hide both pause buttons whenever timeline not running.

 

i need know correct way write code , put it.

 

thanks in advance,

 

greg

hi,

 

i post 2 ways (not exhaustive): jquery , edge ui.

jquery: .hover() function.

edge ui: timeline.stop(): each time found happens.

 

2 demo files: attachments.



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

trim media limit reached