Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Forums Adobe After Effects Expressions encrypted expressions

  • encrypted expressions

  • Adam levine

    March 12, 2015 at 6:09 pm

    How can we write a encrypted expressions in AE?

  • Dan Ebberts

    March 12, 2015 at 7:07 pm

    You 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

  • Adam levine

    March 12, 2015 at 8:34 pm

    thanks Dan.. But it didn’t work….

  • Dan Ebberts

    March 12, 2015 at 8:49 pm

    It’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:

    @[email protected]@[email protected]

    and this expression does in fact produce a wiggle:

    eval(“@[email protected]@[email protected]”);

    Dan

  • Adam levine

    March 12, 2015 at 9:10 pm

    thank you so much Dan.. Now I got it.. 😀

  • Arun Chaudhary

    January 26, 2017 at 9:52 am

    Hi 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
  • Dan Ebberts

    January 26, 2017 at 5:08 pm

    What does the actual expression look like?

    Dan

  • Arun Chaudhary

    January 27, 2017 at 5:10 am

    Before
    wiggle(effect(“Slider Control”)(“Slider”),effect(“Slider Control 2”)(“Slider”));

    After

    eval(“@[email protected]@[email protected]jMjJj
    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

Viewing 1 - 10 of 19 posts

Log in to reply.

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