FORUMS: list search recent posts

looping text Array

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Christian Guertler
looping text Array
on Feb 9, 2016 at 1:30:09 pm

Im trying to loop a text Array in AE expressions, but it only works with small letters or whole words.
Expression is to change source text of a text-field.

Three examples posted below.

I'm using AE CC on Windows 10.

//working:
var liste = new Array('a','b','c');

//also working (Array replaced):
//var liste = new Array('Anton','Berta','Cesar');

//not working (array replaced):
//var liste = new Array('A','B','C');


var se = Math.floor(time);
var m = se % 3;
liste[m];






Return to posts index

Xavier Gomez
Re: looping text Array
on Feb 9, 2016 at 3:44:54 pm

What is wrong with the third example ('A', 'B', 'C') ?
Can you post the error, if any, or tell which misbehaviour you observe ?


Return to posts index

Kalle Kannisto
Re: looping text Array
on Feb 9, 2016 at 8:21:08 pm

I see nothing wrong with the code and it works just fine here.


Return to posts index


Christian Guertler
Re: looping text Array
on Feb 16, 2016 at 1:51:27 pm

sorry, but after restarting machine/after effects each of my posted code is working !?!
No errors occur now.

Christian


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]