Activity › Forums › Adobe After Effects Expressions › Script question
-
Dan Ebberts
October 12, 2010 at 8:11 pmThe exact error message would be helpful (and the expression, if it’s an expression error).
Dan
-
Mike Park
October 12, 2010 at 8:16 pmError as follows:
After Effects warning:Expected:’
Expression disabled.Error occurred at line 1.
Comp:’Comp 1′
Layer: 4 (‘Red Solid’)
Property: ‘Center’It generates this error for every property which is able to have an expression applied.
The expression generated is as follows for that particular property:
thisComp.layer(“Red Solid”)undefined(“Effects”)(“Circle”)(“ADBE Circle-0001”)If you take out the undefined, it works fine. I don’t know what is creating the undefined in the middle of the expression.
Thanks for the look.
-
Mike Park
October 12, 2010 at 8:23 pmI have narrowed the problem down to the “else if” statement at the end of the LinkAll function.
-
Dan Ebberts
October 12, 2010 at 9:03 pmIt looks like your main routine calls LinkAll() with only one parameter. If you don’t already, learn to set breakpoints, examine the call stack and the data browser.
Dan
Reply to this Discussion! Login or Sign Up