Skip to main content
Participant
August 23, 2016
Question

how do i fix "After Effects warning: Expression Disabled. Error at line 1 in property 'Opacity' of layer 2 ('Particles.mp4') in comp 'comp 1' Unterminated string constant.

  • August 23, 2016
  • 3 replies
  • 31530 views

When i do this expression: thisComp.layer("Sound Keys").effect("Sound Keys")("Output 3")"2 I get an error: "After Effects warning: Expression Disabled. Error at line 1 in property 'Opacity' of layer 2 ('Particles.mp4') in comp 'comp 1' Unterminated string constant. How do i fix it?

This topic has been closed for replies.

3 replies

Participant
March 8, 2018

thisComp.layer("Sound Keys").effect("Sound Keys")("Output 3")+"2"

try this

Thanks DULSARA DHANUKA

Mylenium
Legend
August 23, 2016

Unterminated string constant here:

thisComp.layer("Sound Keys").effect("Sound Keys")("Output 3")"2

Sort out your quote marks and use the correct syntax.

Mylenium

Participant
August 27, 2016

what does that mean? what would the correct one be?

P.M.B
Legend
August 27, 2016

Strings always have to be opened & closed with quotation marks.  When you type the first quotation mark "after effects" thinks you are going to enter a string so when you fail type the second quotation mark you get an "unterminated" string.  Besides not making any sense even if it was temrinated, the "2 at the end of your expression is an unterminated string which is why you're getting an error telling you you have an untemrinated string.   If you do not know what strings are, or what syntax is then you've got some research to do.

~Gutterfish
Roei Tzoref
Legend
August 23, 2016

it appears you applied the expression in a wrong way. it would be easier to see what's wrong with a screenshots of your Timeline and Composition panels and showing the layers and values that you are trying to connect with expressions. also specify what exactly are you trying to accomplish.