ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Re: SCRIPTING: limit EditText to numbers?

COW Forums : Adobe After Effects Expressions

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Barend Onneweer
Re: SCRIPTING: limit EditText to numbers?
on Jun 19, 2012 at 2:05:41 pm

Hah! That works exactly like I wanted... And with very little code... Upon onChange of the editText I did a parseInt and if NaN set the value to 0...

If I sound giddy with excitement with these small results: bear with me here... I started Lloyds FXPHD course a week and a half ago... and hadn't ever written one line of Javascript before that. And now in the middle of my second script, fully automating my greenscreen workflow. Going a bit overboard even.

;-)

Raamw3rk - independent colourist and visual effects artist


Posts IndexRead Thread 


Current Message Thread:





© 2019 CreativeCOW.net All Rights Reserved
[TOP]