Forum Replies Created

Page 9 of 14
  • Navarro Parker

    October 1, 2012 at 11:20 pm in reply to: Turn off sequentially

    Works like a charm! Thank you!!

  • Navarro Parker

    October 1, 2012 at 10:34 pm in reply to: Turn off sequentially

    How about an expression where all layers start out visible. Then sequentially, each layer blinks off then comes back on before the next one blinks off, then back on.

    such as this:

  • Navarro Parker

    September 12, 2012 at 10:53 pm in reply to: Problem with .toFixed?

    That was it! Thank you!

  • Navarro Parker

    August 14, 2012 at 7:41 pm in reply to: Change default interpolation for keyframing

    What icon is that? R13 here.

  • Navarro Parker

    July 31, 2012 at 11:14 pm in reply to: Random character opacity on and off

    Good to know. Thanks for the tip.

  • Navarro Parker

    July 31, 2012 at 11:12 pm in reply to: IP4 number generator

    Perfect! Thank you!!

  • Navarro Parker

    July 31, 2012 at 6:44 pm in reply to: Random character opacity on and off

    CS6 is telling me there is Class ‘global’ has no property or method named “textIndex”. So it breaks all these expressions.

    What can I substitute in its place?

  • Hey Dan,

    How would you combine these into one expression to get a two character alpha/numeric output? Would changing the last line this be correct?

    String.fromCharCode(65 + Math.floor(random(26))) + Math.floor(random(10));

  • Navarro Parker

    July 31, 2012 at 5:51 pm in reply to: Random Letters

    Also, 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

  • Navarro Parker

    July 31, 2012 at 5:42 pm in reply to: Random Letters

    This code seems to break under CS6. I’m getting an error on Line 15 “Expected: ;”

    Is there a way to fix it?

    //Begin expression
    numOfLetters = 10;//Modify me
    useSpaces = true;//Modify me
    changeEveryFrame = false;//Modify me

    //Don't modify below this line

    seedRandom(index, !changeEveryFrame)
    //--
    function genLetter( )
    {
    r = random(65, 90);//from a to z
    return String.fromCharCode( r );
    }
    s = "";
    for(i = 0; i
    {
    s += genLetter();
    if(useSpaces)
    s += " ";
    }
    s
    //End expression

Page 9 of 14

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy