- It has an expression on the (Rectangle Path 1) property "size" of a shape that follows the size of a text. Every time I change the text (his name changed), the expression automatically changes the text name of the reference to the expression continue working. So far so good.
- The problem happens on the (Transform: Rectangle 1) property "scale" of the shape, which also has an expression and is following the "scale" of the text as well. When I change the text characters, the expression does not change the reference automatically, resulting in an error. Why does this happen on the property "scale" of shape?
- Do not made auto updates in expression and generates error. I have to keep correcting all times, which is tiring.
See the image, I changed the text "Because I'm happy" to "Clap along". The property "size" of the shape automatically changed to "Clap along", but the property "scale" of the shape was like before with reference to layer "Because I'm happy" which resulted in an error.
Windows 8.1
After Effects CC 2014 updated
Thanks.
Update:
It has something to do with the expression of the shape in the above property, "size" in, I think the After read the expressions in order, from top to bottom, expression in "size":
x2 = effect("x2")("Slider")
y2 = effect("y2")("Slider")
x = thisComp.layer("Clap along").sourceRectAtTime().width + x2 / content("Rectangle 1").transform.scale[0]*100;
y = thisComp.layer("Clap along").sourceRectAtTime().height + y2 / content("Rectangle 1").transform.scale[1]*100;
[x,y]
It makes a reference to expression of the property that comes after ("scale"), as follows:
content("Rectangle 1").transform.scale[0]
content("Rectangle 1").transform.scale[1]
What it must be causing the error because when I turn off the expression above in "size" the expression in "scale" works correctly.
(I mean, when the text is changed, the expression changes also without I'm having to edit within the expression to work.)