expression not updating after setting keyframe


#1

[font=Arial]Hello
I just met a problem in my after effects project.
I have a “Main” comp. In this “Main” comp there are different layers and different compositions. I applied a slider to one of the layers. The slider controls the rotation of a layer inside the “Main” comp and it controls the rotation of a layer inside a preComp (the preComp is inside the “Main” comp).

The expression for the layer in the “Main” comp is:
thisComp.layer(“char”).effect(“HeadAngle”)(“Slider”);

The expression for the layer inside the preComp is:
comp(“Main”).layer(“char”).effect(“HeadAngle”)(“Slider”);

When I move the slider the rotation in both layers work fine. BUT when I set keyframes for the slider, only the rotation of the layer directly inside “Main” comp updates. The layer in the preComp doesn’t update anymore.

I am new to expressions maybe I am missing something in my expressions?
Thank you in advance for your help!

Update: I found a thread in the creative cow forums. Its an older post. They were having the same problem but they did not find the reason for the problem : /
[/font]


#2

Provide the project and we will see. Otherwise you have wasted five minutes of your life with a pointless post…

Mylenium


#3

sry but I am not allowed to distribute the project at the moment. I just recreated the problem in a new project file so that I can show you the problem. But now everything is working fine in the new project file. I dont know what is causing the problem in the original project file. Maybe it is just a strange chain of events which stop the expressions from updating.

Is there another way to write the expressions I used?


#4

Again, without the project nobody will be able to tell you anything. You could have conflicting keyframes, use continuous rasterization, time remapping, some specific effects and whatnot, all of which may effect the order in which the expressions are evaluated or more down to the point, how some of these settings override the expression’s result.

Mylenium


#5

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.