Highlighted

Trouble with After Effects Color Expressions

New Here ,
Aug 20, 2020

Copy link to clipboard

Copied

I have downloaded a template for a intro using AE that was created using the 2014 version and I opened it in my computer using the 2020 version. The error appears to me as an orange banner that reads: 

 

Disabled expression: Error in line 1 in the "Color" property of layer 2 in composition X. The property or method called "Color" in the "Effect" Class is missing or does not exist. It may have been renamed, moved, or deleted.

 

I wonder if it is merely because of updates made in the codes (am using Legacy ExtendScript) or because my After effects is in portuguese and the template I downloaded is in english.

 

I will attach a printscreen of my color expression, if anyone can tell me the error, Id be so grateful!

 

PS: I am trying to change colors with a color pannel attached and also I have no experience whatsoever with this kind of code.

TOPICS
Error or problem, Expressions, Scripting

Views

35

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

Trouble with After Effects Color Expressions

New Here ,
Aug 20, 2020

Copy link to clipboard

Copied

I have downloaded a template for a intro using AE that was created using the 2014 version and I opened it in my computer using the 2020 version. The error appears to me as an orange banner that reads: 

 

Disabled expression: Error in line 1 in the "Color" property of layer 2 in composition X. The property or method called "Color" in the "Effect" Class is missing or does not exist. It may have been renamed, moved, or deleted.

 

I wonder if it is merely because of updates made in the codes (am using Legacy ExtendScript) or because my After effects is in portuguese and the template I downloaded is in english.

 

I will attach a printscreen of my color expression, if anyone can tell me the error, Id be so grateful!

 

PS: I am trying to change colors with a color pannel attached and also I have no experience whatsoever with this kind of code.

TOPICS
Error or problem, Expressions, Scripting

Views

36

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
Aug 20, 2020 0
Adobe Community Professional ,
Aug 20, 2020

Copy link to clipboard

Copied

The code snippet you uploaded as a screenshot is just pointing to a layer in another comp that has an effect. It must be applied to another color effect in the current layer.

codes

All that line of code is doing is looking for a comp named RENDER THIS (Full Text Version) that has a layer. named CHANGE COLORS, which contains an effect that has been renamed "cables effect color" because there is no effect with that name, then looking for the Color parameter in that effect.

 

The error message is telling you that it cannot find the effect named "cables effect color" so the way to find that is to open up the flow chart, look for a comp named  RENDER THIS (Full Text Version). When you find that comp, expand the flow chart, and look for a layer named CHANGE COLORS. Check that layer for effects. Just clicking on a layer in the Flow Chart will select that layer in the comp and the Effects Control Panel will show all effects applied to that layer. Look for one that has a color property. It is probably not there. If the error message said it could not find the effect "cables effect color" then the effect was not renamed properly. I purposely set up an error so you could see how Flow Chart helps find problems.

Screenshot_2020-08-20 14.48.56_aQXxZa.png

You can see both comps and you can see the error message. By looking at the Effects Control Panel in the top left corner you can see there is an effect that has been renamed CC Boo, but it does not have a color property. The other effect on that layer is Fill and it has a color property. All you have to do to fix the expression error is to change the effect name from CC Boo to Fill in the expression.

 

If you cannot find and fix the problem, open up the comp, find the expression, select it all and copy it, then use the toolbar to embed the code using the icon that looks like this: </> and choose Java Script as the option. We also need you to select the layer with the problem, press the 'u' key twice to reveal all modified properties and then take a screenshot and use the icon that looks like a mountain range with a sun in the top right corner, the one just left of the film strip icon, to embed that screenshot so we can try and figure out what is going on. We should be able to show you where the problem with the template is.

 

It would also be helpful if we knew what template you were using.

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...
Aug 20, 2020 0
New Here ,
Aug 21, 2020

Copy link to clipboard

Copied

Thank you so much, I fixed it!

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...
Aug 21, 2020 0