Hi! New problem ...
I have a project where some layers rotate around a globe (it's not for me, it's for a training session I give!)
and here is my problem: I wrote an expression to loop my rotation loop_out("cycle",0) and, of course, it works. Now, I wanted to have the same rotation withe a loop in. So I added a line to my expression:
and it doesn't work. I have a loop in OR a loop out but I can't have them both on the same layer. May be I should add something between my two expressions?
what's happening is the last statement is the one that ae will execute. so, loop_out is the only one you will see.
what you'll need are some conditional statements that will make each statement get executed when certain criteria is met -- essentially, when time is less than when the rotation starts, loopIn; when it is after rotation ends, loopOut; if it is in between the keys, return the actual values...
something like this should work:
if (timekey(numKeys).time) loopOut();