-
error with color epxression
in the book “AE Expressions”
he gave the following expressionvar red=thisComp.layer("Controls").effect("Red")("Slider");
var green=thisComp.layer("Controls").effect("Green")("Slider");
var blue=thisComp.layer("Controls").effect("Blue")("Slider");
var alpha=1;var hsl=
rgbToHsl=([red,green,blue,alpha])
hsl[0]+=.5;
if (hsl[0]>1)hsl[0][H11546]=1;
var rgb = hslToRgb(hsl);
rgb
but keep getting an error that tells me thatH11546 in class 'global' is missing or dosent exist
I have compared what i wrote against whats in the book and i dont see why,
can any of your help me out here?
