FORUMS: list search recent posts

ANOTHER scrolling credits question

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jake mendez
ANOTHER scrolling credits question
on May 13, 2011 at 5:33:23 pm

Ok, so i built this rolling credits for a project several months back. some names got added, so the "roll" is longer, but they need it to fit in the same time span. i cant figure out how to adjust the expression/layer to CHANGE THE END POINT. here is the expression i am using. i tried bumping the 4 to 4.5 but it doesnt like fractions, and 5 is too much. thanks in advance

rate = 4.; //value in px/sec.
if (marker.numKeys > 0){
if (time > marker.key(1).time){
value - [0,rate*timeToFrames(time-marker.key(1).time)];
}else{
value;
}
}else{
value - [0,rate*timeToFrames(time-inPoint)];
}


Return to posts index

Dan Ebberts
Re: ANOTHER scrolling credits question
on May 13, 2011 at 6:27:09 pm

What do you mean by "it doesn't like fractions"?
4.5 should work.

Dan



Return to posts index

Jake mendez
Re: ANOTHER scrolling credits question
on May 13, 2011 at 6:36:02 pm

anything other than a whole number gives me an error:

after effects warning: bad digit in number expression disabled

error occured at line 1.
comp: CC_CREDIT_ROLL'
Layer: 6 ('CC_Credit_Roll_P2.ai)
property: position


Return to posts index


Dan Ebberts
Re: ANOTHER scrolling credits question
on May 13, 2011 at 6:44:32 pm

This works for me:


rate = 4.5; //value in px/sec.
if (marker.numKeys > 0){
if (time > marker.key(1).time){
value - [0,rate*timeToFrames(time-marker.key(1).time)];
}else{
value;
}
}else{
value - [0,rate*timeToFrames(time-inPoint)];
}


Are you doing it a different way?

Dan



Return to posts index

Jake mendez
Re: ANOTHER scrolling credits question
on May 13, 2011 at 6:50:40 pm

of course it was user error. i had an extra period after the 4, so it was reading 4.5. thanks.


Return to posts index

Kevin Camp
Re: ANOTHER scrolling credits question
on May 14, 2011 at 1:18:04 am

I think that expression was intended to keep whole pixel movement per frame, thus preventing the 'wavy' text edges that will otherwise happen due to antialiasing...

You might be better off scaling the text slightly to allow it to fit the duration at 4 px/frame.

Kevin Camp
Senior Designer
KCPQ, KMYQ & KRCW


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]