-
Dan’s counter expression and alignment.
I’m using a Dan Ebberts expression to create a counter.
I created a Slider and added tis expression to the Source Text feild.val = effect(“Slider Control”)(“Slider”);
numDec = 0; // digits to right of decimal
numDigit = 2; // digits to left of decimal
if (val < 0) sign = "-" else sign = ""; s = Math.abs(val).toFixed(numDec); while (s.length < numDigit + numDec + 1) s = "0" + s; sign + s The paragraph is aligned to the right. As the number roll the kerning moves the letters. Is there a way to keep each number in a set position?