Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Expressions for CC12 from 2014

  • Expressions for CC12 from 2014

    Posted by Scott Moore on July 6, 2017 at 3:05 pm

    I need the following expression written for CC12. It’s from a project that was built for 2014.

    It is used to create a “space” between two text lines side by side. I think the “RecAtTime” is something newer to 2014 and up.

    Any help is greatly appreciated.

    Scott

    gap = 0;
    L = thisComp.layer("Show");
    rect = L.sourceRectAtTime(time,false);
    x = L.toComp([rect.left+rect.width,0])[0];
    [x+gap+width/2,value[1]]

    Scott Moore replied 9 years, 2 months ago 2 Members · 2 Replies
  • 2 Replies
  • Dan Ebberts

    July 6, 2017 at 4:17 pm

    If your AE version is prior to sourceRectAtTime(), you don’t really have any good options. You can find some hacks out there that use sampleImage(), but they are slow, inefficient, and ugly.

    Dan

  • Scott Moore

    July 6, 2017 at 4:21 pm

    Thanks Dan,

    I was afraid of that. I will look up that code and see what it says. Might be easier to do it manually.

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