ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Space after slash an expected ";" error

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Oleg Pirogov
Space after slash an expected ";" error
on Sep 24, 2018 at 10:48:55 am

So, I had an expression with:
x = 100*targetX/thisLayer.sourceRectAtTime().width;
which worked just fine on my machine. But running it on a server gives me expression error: "expected ;"
I resolves with putting space after slash:
x = 100*targetX/ thisLayer.sourceRectAtTime().width;
I don't know much about the server: it appears to be Windows-run and it renders with aerender automatically.
So I hope there's someone who has encountered this before and could explain what exactly is going on here.
Thanks.


Return to posts index

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