Use code only in a defined timespan


hi,

 

i’d have code being used in defined timespan between 2 timecodes. possible edge animate?

 

to more specific, code should used when hovering in first 2 seconds of animation (it’s animated , looped online ad), like

if($timecode<2000){sym.play("something");}

you should able use getposition()

 

example:

 

var timelinepos = sym.getposition();

if (timelinepos == 0) {

   sym.stop(1000);

}

if (timelinepos == 1000) {

  sym.stop(0);

}



More discussions in Edge Animate CC


adobe

Comments

Popular posts from this blog

after effects warning: unable to create drawing surface

Maximum number of authorizations reached!