Lost Adventurer, Aleks Kirilenko (3D)
LC #42 Pipers Alley

View Full Version : expressions and variables

05-26-2010, 01:34 PM
I have this expression I'm using, but I keep getting errors. I think it has to do with the linear() function I'm using.

startTime = 1.5; //in seconds
endTime = 5; //in seconds
startValue = 0;
sText = parseInt(comp("INFO").layer("showNumber").text.sourceText));

count=linear (time, startTime, endTime, startValue, endValue) ;

any ideas?

05-26-2010, 03:13 PM
The expression doesn't seem to work if there's something else than a number in the text-layer.
And of course the obvious: Is there a composition "INFO" with a textlayer "showNumber" ?

Other than that it gives no errors here (AE CS4 for Mac)


CGTalk Moderation
05-26-2010, 03:13 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.