Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Adobe After Effects Expressions Sampling expression crashing AE and glitchy.

  • Sampling expression crashing AE and glitchy.

    Posted by Robert Paynter on October 11, 2013 at 4:48 pm

    Hello everyone,

    I’m using the following expression on the opacity 60+ layers. Taking it’s value from my Gradient2 comp:
    It is being very glitchy. When applied, it randomly disables the expression on other random layers. And it regularly crashes with no foreseeable pattern. I really need a solution. Any help would be greatly appreciated.

    -RP

    Expression:

    min = [0];
    max = [100];
    l = thisComp.layer(“Gradient2”);
    p = l.fromComp(toComp(anchorPoint));
    v = rgbToHsl(l.sampleImage(p))[2];
    linear(v, 0, 1, min, max);

    Crash error:
    Last log message was: <140735115800960> <2> Making New Context

    Robert Paynter replied 12 years, 7 months ago 1 Member · 0 Replies
  • 0 Replies

Sorry, there were no replies found.

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