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

next previous button

$
0
0

hi there,

 

 

I'm looking for it for few days and just couldn't find what i'm looking for.

 

 

i need to use the same button on click to play the next animation (label)

and i have a back button which need to play the previous animation.

 

 

sounds pretty easy, but just couldn't find the right thing.

 

 

found this but couldn't figure out how to make the previous action to work

 

 

in CreationCompete put this :
c = 1;

and in function click in you boutton next or previous put this :

 

 

if ( c == 1 ){

sym.play("the_first_animation");

 

 

}

else

{

sym.play("the_Second_animation_in_timeLine");

 

 

 

 

}

many thanks


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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