Skip to main content
animaii
Known Participant
July 17, 2017
Answered

Expression error : Unterminated string constant

  • July 17, 2017
  • 2 replies
  • 3308 views

Hi,

All is in the title 🙂

I follow a motion designer JR. Canest. He give to everyone a bunch of expression for AE.

I tried one, and I have this error message. I tried the others and it's the same problem.

Here is my expression I want to try :

"s = [];

ps = parent.transform.scale.value;

for (i = 0; i < ps.length; i++){

s = value*100/ps;

}

s"

And I get this message :

This project contains an expression error : error 1 of 1

Error at line 1 in proprety "Scale" of layer 2 ('Layer 15') in comp 'Bubble_Grid'. Unterminated string constant., an expression was disabled as a result of an error.

Thank you very much for your help ! 🙂

    This topic has been closed for replies.
    Correct answer Mylenium

    Use it without the quotation marks.

    Mylenium

    2 replies

    animaii
    animaiiAuthor
    Known Participant
    July 17, 2017

    oyayayaya ahah, So simple, thank you very much Mylenium !

    Mylenium
    MyleniumCorrect answer
    Legend
    July 17, 2017

    Use it without the quotation marks.

    Mylenium

    Participant
    January 7, 2023

    Legend!