Activity › Forums › Adobe After Effects Expressions › Random Letters
-
Navarro Parker
July 31, 2012 at 5:51 pmAlso, CS6 says this is broken at line 9 -> “expected: )”
numRows = 1;
numChars = 5;
holdFrames = 5;seed = Math.floor(time/(holdFrames*thisComp.frameDuration));
seedRandom(seed,true);s = "";
j = 0;
while(j
k = 0;
while (k
c = Math.floor(random(65,91));
s += String.fromCharCode(c);
k += 1;
}
s += "r";
j += 1;
}
s -
Dan Ebberts
July 31, 2012 at 6:15 pmIt looks like you’re missing a chunk of the expression (and the other one as well). Check the for() and while() loops. Less-than symbols sometimes get interpreted as HTML and mess up the code.
Dan
Reply to this Discussion! Login or Sign Up