-
An odd BUG in the AE expressions drove me nut
Hi all (specially Dan!)
Did you know that Javascript engine of “AE CS 6” cannot detect ‘7’ nor ’14’ number in ‘y’ component of a ‘Point’?!!!
Assume there is a text layer which has an expression effect of type Point. (Let me name it “P” and set it to [6, 7].) Now, insert the following code for the Source Text of this layer.
if (thisLayer.effect("P")("Point").value[1] == 7)
"YEP";
else
"Cannot detect 7 number!";