ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: Play only frames with markers

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Dan EbbertsRe: Play only frames with markers
by on May 23, 2012 at 10:25:28 am

Wow--that's a really strange one. It works in 5.0 and 6.0, but not 5.5.
This seems to fix it for 5.5, although I'm not sure why it's necessary:


n = marker.numKeys;
if (n > 0){
f = timeToFrames (time);
idx = Math.min (Number(f)+1, n);
marker.key(idx).time
}else{
value
}



Dan



Posts IndexRead Thread 


Current Message Thread:





© 2016 CreativeCOW.net All Rights Reserved
[TOP]