Activity › Forums › Adobe After Effects Expressions › encrypted expressions
-
encrypted expressions
Posted by Adam Levine on March 12, 2015 at 6:09 pmHow can we write a encrypted expressions in AE?
Bjorn Levy replied 6 years, 1 month ago 6 Members · 18 Replies -
18 Replies
-
Dan Ebberts
March 12, 2015 at 7:07 pmYou can use the ExtendScript Toolkit to export your expression as a .jsxbin file. You can take the contents of that file, wrap it in double quotes and stick it in an eval() function like this:
eval(“@JSXBIN…..”);
My experience though is that doing this can incur a significant performance penalty.
Dan
-
Dan Ebberts
March 12, 2015 at 8:49 pmIt’s hard to say what’s going on without seeing the original expression, the .jsxbin code and the error message (if any). Is it a long expression? You may be running into and issue with carriage returns.
As a simple test, start with this:
wiggle(1,100);
Running it through the binary exporter gives this:
@JSXBIN@ES@2.0@MyBbyBn0ABJAnAEjzGjXjJjHjHjMjFBfRCFdBFdjEff0DzACByB
and this expression does in fact produce a wiggle:
eval(“@JSXBIN@ES@2.0@MyBbyBn0ABJAnAEjzGjXjJjHjHjMjFBfRCFdBFdjEff0DzACByB”);
Dan
-
Arun Chaudhary
January 26, 2017 at 9:52 amHi Dan Ebberts This method do not work when expressions control by slider kindly help
-
Dan Ebberts
January 26, 2017 at 2:15 pm>This method do not work
What are the symptoms? Are you sure it’s the slider causing the problem? Any error message?
Dan
-
Arun Chaudhary
January 26, 2017 at 5:04 pm -
Arun Chaudhary
January 27, 2017 at 5:10 amBefore
wiggle(effect(“Slider Control”)(“Slider”),effect(“Slider Control 2”)(“Slider”));After
eval(“@JSXBIN@ES@2.0@MyBbyBn0ABJAnAEjzGjXjJjHjHjMjFBfRCEEjzGjFjGjGjFjDjUCfRBFeOiTjMjJj
EjFjShAiDjPjOjUjSjPjMffRBFeGiTjMjJjEjFjSffEEjCfRBFeQiTjMjJjEjFjShAiDjPjOjUjSjPj
MhAhSffRBFeGiTjMjJjEjFjSffff0DzADByB”);Error, after effects warning unterminated string constant expression disabled
Click on image zoom it, text one show before bin & second text show after convert JSXBIN in image
-
Dan Ebberts
January 27, 2017 at 6:41 amI think it works if you get rid of the line breaks:
eval(“@JSXBIN@ES@2.0@MyBbyBn0ABJAnAEjzGjXjJjHjHjMjFBfRCEEjzGjFjGjGjFjDjUCfRBFeOiTjMjJjEjFjShAiDjPjOjUjSjPjMffRBFeGiTjMjJjEjFjSffEEjCfRBFeQiTjMjJjEjFjShAiDjPjOjUjSjPjMhAhSffRBFeGiTjMjJjEjFjSffff0DzADByB”)
Reply to this Discussion! Login or Sign Up
