-
Invalid Object error when script tries to locate specific effect parameter
I have a script that stops running with an Invalid Object error as it is attempting to to apply an expression to an effect parameter. I have several other instances of this sort of thing that seem to be working fine and I’m trying to figure out how to fix this one… The effect is the standard AE Exposure effect (“ADBE Exposure2”) and the parameter it’s trying to find is the parameter called “Exposure”. The only thing I see that is at all “different” is that the parameter is within a param group (called “Master”)… The default expression seems to show the index for this parameter to be (3)… I’ve tried it by index or by name with the same problem either way… – what am I missing here ? (any suggestions appreciated)…
The syntax in the script is like this
myEffect02.property(3).expression = ‘whatever expression’
with myEffect02 as a properly defined variable referring to the instance of the Exposure effect…

