Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Parenting expressions error.

  • Parenting expressions error.

    Posted by Frank Brown on January 2, 2011 at 11:13 am

    Hello. I created 3d rectangle and tried to parent its height (y) to keyframes from sound effector, and i got this error:
    “array piece can`t expand to more than one value”
    How to solve that problem?

    Here it is:

    x = value;
    y = thisComp.layer("Sound 1").effect("Sound Keys")("Output 1");
    z = value;
    [x, y, z]

    Frank Brown replied 15 years, 4 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    January 2, 2011 at 6:05 pm

    Try this:

    x = value[0];
    y = thisComp.layer(“Sound 1”).effect(“Sound Keys”)(“Output 1”);
    z = value[2];
    [x, y, z]

    Dan

  • Frank Brown

    January 2, 2011 at 9:38 pm

    Question solved.
    Thank you!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy