Hope I'm not repeating another thread, if so I am, sorry. I'm following Markus' AE Expressions book, in Chapter 7, there is the following expression in the source text field of a layer:
var food = ["eggs", "bacon", "cheese", "soup", "cake", "ice cream", "apples", "ham"];
var rate = 1.5;
var i = Math.floor(time / rate) % food.length;
In the old version of AE, I'm sure this expression worked great, but something in the Expression language changed, making this expression giving the following error: This project contains an expression error 1 of 1
Error at line 4 in property 'Source Text' of layer 1 ('food') in 'Comp 13'. = does not have a value., an expresssion was disabled as a result.
line 4 is:
But why is the expression being disabled? Any ideas please?