Forum Replies Created

Viewing 21 - 30 of 36 posts
  • Chris Scalzo

    April 20, 2016 at 6:56 pm

    If it was consistently like that I would agree. 109.85000001 rounds to 109.9

    It seams that to.Fixed is “> 5” for rounding instead of “>= 5”

    Thanks for the response anyway. At least I am not crazy.

    ps. Math.round is >=

  • Chris Scalzo

    April 20, 2016 at 2:32 pm

    I’m almost ready to replace the code with Math.round(sNum*10)/10

    but I don’t understand why to.Fixed is round .85 down to .8

  • Chris Scalzo

    April 20, 2016 at 2:27 pm

    I get 109.85 being rounded to 109.8 instead of 109.9

  • Chris Scalzo

    October 22, 2015 at 8:23 pm

    That is exactly why I use the picker. We put guide layers with color palate for the appropriate show instead of a slider.

  • Chris Scalzo

    October 22, 2015 at 4:28 pm

    Whenever I make templates like this I tend to use the Color Control expression control instead. Then on top of Hue, saturation and brightness controls; end users can use the dropper to select colors.

  • Chris Scalzo

    October 22, 2015 at 4:24 pm

    did you want those exact numbers? How did you want to input the Numbers if not? For most cases I’d just use point text and press return to add more lines.

  • Chris Scalzo

    October 22, 2015 at 12:00 am

    Worked perfectly. Thanks again.

  • Chris Scalzo

    October 21, 2015 at 10:47 pm

    One more thing I’m trying to figure out with another expression I’m using with the previous. I wrote the following expression to toggle an Effect Opacity on and off with keyframes. I can’t figure out how to use easeOut to ramp the transition from 0 to 100 and back to 0 (on following keyframe).

    try{
    m = thisLayer.marker;
    i = m.nearestKey(time).index;
    if (m.nearestKey(time).time > time){ i--;}
    if (i < 1) { i = 1};
    i%2*100
    }catch(err){1}

  • Chris Scalzo

    October 21, 2015 at 8:50 pm

    Looks good to me. Thanks, your biggest fan (probably not, since you are a rock star).

  • Chris Scalzo

    October 21, 2015 at 7:58 pm

    Thanks. Was going crazy. < > test lol

Viewing 21 - 30 of 36 posts

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