Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
ADOBE AFTER EFFECTS:HomeForumBasicsExpressionsTutorialsPodcastsAE TechniquesTrainingCreative Cloud DebateFAQ

Adobe after Effects Expression Syntax error!! >.<

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook
Mert DemirsüAdobe after Effects Expression Syntax error!! >.<
by on Jun 4, 2012 at 7:04:12 am

So i'm currently using this Expression function from a AE ''wall'' intro tutorial, i can't get it to work since it gives me syntax errors, does the tutorial possible use a older version of A.E?

The expressions are

beam = thisComp.layer(“2D comp”);
beam.toComp([960,500,-700]);

And

beam = thisComp.layer(“2D comp”);
beam.toComp([thisComp.layer("slider").effect("Slider Control")("Slider"),500,0]);

On the effect controll ''beam'' starting and ending point from above to below.

Tutorial can be find here, i'm stuck on part 117

http://ae.tutsplus.com/tutorials/motion-graphics/lear-to-make-a-custom-3d-w...


Return to posts index
Reply   Like  

Dan EbbertsRe: Adobe after Effects Expression Syntax error!! >.<
by on Jun 4, 2012 at 2:52:56 pm

It would be very helpful to know what the error message says.

Dan



Return to posts index
Reply   Like  

Mert DemirsüRe: Adobe after Effects Expression Syntax error!! >.<
by on Jun 4, 2012 at 2:59:35 pm

Posted, need some help asap since this is a schoolwork lol.

After effects warning:Syntax error Expression disabled

Error occured at line 1
Comp: 'Final Comp'
Layer: 2 ('beam')
Property: 'Starting Point'


Return to posts index
Reply   Like  


Dan EbbertsRe: Adobe after Effects Expression Syntax error!! >.<
by on Jun 4, 2012 at 3:00:13 pm

Ah. I think you just need to replace the curly quotes with straight quotes.

Dan



Return to posts index
Reply   Like  

Mert DemirsüRe: Adobe after Effects Expression Syntax error!! >.<
by on Jun 4, 2012 at 3:10:32 pm

[Dan Ebberts] "Ah. I think you just need to replace the curly quotes with straight quotes.

Dan
"


Don't understand do you mean the strings? Or can you post the changed code so i understand which part :S


Return to posts index
Reply   Like  

Dan EbbertsRe: Adobe after Effects Expression Syntax error!! >.<
by on Jun 4, 2012 at 3:27:56 pm

like this:

thisComp.layer("2D comp");

instead of this:

thisComp.layer(“2D comp”);


Dan



Return to posts index
Reply   Like  


Mert DemirsüRe: Adobe after Effects Expression Syntax error!! >.<
by on Jun 4, 2012 at 3:31:38 pm

[Dan Ebberts] "thisComp.layer("2D comp");"

My god i love you the code worked, can you post the solution for the other code?

beam = thisComp.layer(“2D comp”);
beam.toComp([thisComp.layer("slider").effect("Slider Control")("Slider"),500,0]);

I might be doing something wrong but i honestly doubt it.

Edit : Nevermind it worked, thanks!


Return to posts index
Reply   Like  

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Share on Facebook


FORUMSTUTORIALSMAGAZINESTOCKYARDVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2013 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]