FORUMS: list search recent posts

Sampling expression crashing AE and glitchy.

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Robert Paynter
Sampling expression crashing AE and glitchy.
on Oct 11, 2013 at 4:48:13 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


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]