Page 1 of 1

Triggering animation with markers

Posted: July 10th, 2018, 4:06 pm
by ubusam
Hi,
I'm trying to modify Dan Ebberts expression: http://www.motionscript.com/design-guid ... -sync.html
I have action layer with markers on it.
For example markers are on 1,2,3,4,5 seconds.
I have markers on comp but I don't know how to connect them with the action layer.
This is working, but only for the first marker.

Code: Select all

action = comp(name).layer("action");
m = marker.key(1);
t = time - m.time;
actMarker = action.marker.key(1);
actMarker.time + t;
Can someone please help me with this, I think it's easy but I can't figure it out.
Thanks