Forum Replies Created
-
Mil Malchiodi
June 26, 2019 at 5:03 pm in reply to: Change Decimal Mark in Dan Ebberts’s Counter ExpressionThis is kind of an old post, but I got here with the same problem. I just fixed it.
In line 26 of the expression ( the original from Dan), you have:
outStr += “,” + s.substr(-i*3,3);Just replace the “,” with “.” and that would do the trick.
For me, it ended like below (with no decimals, without dollar sign).
Hopefully it will help someone else!numDecimals = 0;
commas = true;
dollarSign = false;
beginCount = 100000;
endCount = 174000;
dur = 4;t = time - inPoint;
s = linear (t, 0, dur, beginCount, endCount).toFixed(numDecimals);prefix = "";
if (s[0] == "-"){
prefix = "-";
s = s.substr(1);
}
if(dollarSign) prefix += "$";if (commas){
decimals = "";
if (numDecimals > 0){
decimals = s.substr(-(numDecimals + 1));
s = s.substr(0,s.length - (numDecimals + 1));
}
outStr = s.substr(-s.length, (s.length-1)%3 +1);
for (i = Math.floor((s.length-1)/3); i > 0; i--){
outStr += "." + s.substr(-i*3,3);
}
prefix + outStr + decimals;
}else{
prefix + s;
}-MiL-
-
Same problem here!
Have you found any solution?-MiL-
-
Thanks so much Dave, I couldn’t remember that!
Athar, you have just to add a keyframe to the mask you already drewn, copy that keyframe, and PASTE it on the position of the hand layer.
-MiL-
-
Hi Michael!
After Effects CS6 v.11
If I make a mask on a new layer, in the same comp, I have the same problem.
If I make a mask in any layer in other comps, no problem.PC rebooted, new project, new comp, new solid, new mask, no problem.
The problem is with THAT proyect, and THAT COMP, but I don’t know why. That’s why I was thinking in something that can be enabled/dissabled, but I didn’t find anything. =/
Have a great day!
-MiL-
-
Great idea John!
I’ll take a look at that. I’ve never worked with morph before, so it’s a good moment to learn 😉Thank you!
-MiL-
-
Thanks so much George!
I’ll try to find an alternative with animated fonts. There’s always time to do the manual work 😛And thanks so much for the link! I didn’t know those guys.
-MiL-
-
Thank you so much for taking the time to help me!
I’m a newbie in the expressions thing, I have never worked with animation presets, but I’ll give it a try.
Again, thank you 🙂
-MiL-
-
Filip, thanks so much for the detailed answer.
I’ve tried it, and it worked very well just for the bounce. I’ve finally keyframed the scale, to make the skewing of the object. So, believe me when I tell you I’m very interested (and PLEASE keep me updated) in the other expression you’re working on.
Again, thanks a lot for the help!
-MiL-
-
Cool!!!
The last one was the correct one!Thanks sooo much George!!
-MiL-
-
Hey George! First of all, thanks so much for the help!
I did what you told me, we are closer to what I want, but not exactly.
I animated the scale (animator scale) from 0 to 100. Once I paste the expression, even if it says “0” the first keyframe starts before 0.I changed a few values of the expression, but didn’t find the way to start in 0.
The layer inpoint it’s at the first keyframe. Hope the image helps.-MiL-
