Problem with expression controls
Posted: January 4th, 2008, 6:02 am
Hi!
I'm having a problem using a Slider control. What I'm trying to to is to have a textlayer read portions of another textlayer. Here's my expression on the textlayer:
Let's say I set my slider control to a value of 10, nothing happens... But if I alter the expression to look like this
it works...
What am I missing?
Cheers!
Øyvind Veberg
I'm having a problem using a Slider control. What I'm trying to to is to have a textlayer read portions of another textlayer. Here's my expression on the textlayer:
Code: Select all
i=effect("Slider Control")("Slider");
source=thisComp.layer("Textsource").text.sourceText.substring(0,i);
Let's say I set my slider control to a value of 10, nothing happens... But if I alter the expression to look like this
Code: Select all
i=10;
source=thisComp.layer("Tekstkilde").text.sourceText.substring(0,i);
What am I missing?
Cheers!
Øyvind Veberg