-
AfterEffectsExpressions, PropertyIndex question
So im learning how to use expressions with the book “AE Expression”.
He reached when he applies the next expression on a 4 color gadient:
effect("4-Color Gradient").param(propertyIndex - 2).valueAtTime(time – .5)After reciving an error when tried to apply the expression i googled for answered and i found this:
I think the problem is that when the book was written, thisProperty was implied when referring to attributes of the property housing the expression. Somewhere along the line it was changed so that now you have to explicitly include it. This should work:effect("4-Color Gradient").param(thisProperty.propertyIndex - 2).valueAtTime(time - .5)
Dan
That one left me confused, if “thisPoperty” was used back then for the property that holds the expression.
what does that mean today?