Highlighted

Error with scrolling text

New Here ,
May 18, 2020

Copy link to clipboard

Copied

Hi all:

 

Thought I would start with I figured to be an easy tutorial with some scrolling text, like hacker terminal FX, and with that being said, I was following along and had to put some expressions in the postion area. Well one of them is really not liked by the program and seeing I am just starting out, I have no clue what it wants or how to go around it--this is what I was to imput:

pLine=this.sourceRectAtTime(time).height;
scaler=(transform.scale[1]/100);
value-[0,pLine*scaler];

SO basically as the text scrolls, it updates and scrolls up, but that surely doesn't happen at all. The program does like the first line, and only the first line.....so dunno what to do, just thought this would be a first fun outing. It just says that sourceRectAtTime() is not a function....of what??

 

Best regards,
AJ

 

TOPICS
Error or problem, Expressions, User interface or workspaces

Views

304

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Error with scrolling text

New Here ,
May 18, 2020

Copy link to clipboard

Copied

Hi all:

 

Thought I would start with I figured to be an easy tutorial with some scrolling text, like hacker terminal FX, and with that being said, I was following along and had to put some expressions in the postion area. Well one of them is really not liked by the program and seeing I am just starting out, I have no clue what it wants or how to go around it--this is what I was to imput:

pLine=this.sourceRectAtTime(time).height;
scaler=(transform.scale[1]/100);
value-[0,pLine*scaler];

SO basically as the text scrolls, it updates and scrolls up, but that surely doesn't happen at all. The program does like the first line, and only the first line.....so dunno what to do, just thought this would be a first fun outing. It just says that sourceRectAtTime() is not a function....of what??

 

Best regards,
AJ

 

TOPICS
Error or problem, Expressions, User interface or workspaces

Views

305

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 18, 2020 0
Mylenium LATEST
Most Valuable Participant ,
May 18, 2020

Copy link to clipboard

Copied

Positions are arrays. You can't just write "value-something". You have to extract the vector components and subtract them separately or use actual vector math. And the this. reference in the first line is kinda nonsense, too. There is no reason to reference the current object in an expression. AE's evaluation is strictly based on the property stream the expression is applied to, anyway.

 

Mylenium

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 18, 2020 0