Skip to main content
Known Participant
November 27, 2017
Answered

Is it possible to #include a JSXBIN to my Script?

  • November 27, 2017
  • 1 reply
  • 990 views

I'm trying to include it, but the functions do not work properly. Is there any specific formatting to include JSXBIN?

This topic has been closed for replies.
Correct answer lloydalvarez

including or eval()'ing a jsxbin is the same as a jsx as AE decodes the jsxbin before processing it. Are you uglifying or otherwise modifying the code before making the jsxbin?

1 reply

Inspiring
November 27, 2017

Yes you can #include a jsxbin.  Does it work differently if you include the .jsx version?  Your issue is probably elsewhere.

Known Participant
November 27, 2017

Yes @Lloyd Alvarez, if I #include the .jsx version.
All my functions work perfectly.
But when I include the .jsxbin version, I got the message, function undefined.

I'm trying to use the $.eval() function, and with my UI images, is working fine...
but the functions of the script still not working if I $.eval(my.jsxbin)

lloydalvarezCorrect answer
Inspiring
November 27, 2017

including or eval()'ing a jsxbin is the same as a jsx as AE decodes the jsxbin before processing it. Are you uglifying or otherwise modifying the code before making the jsxbin?