Including javascript dependencies issues in EB2.1


hi all,

 

i have issue extension. calling jsx file extension*. long time ago woithout issues. tried include "jsinc" files in main jsx file. set include path related url of mine ( "/users/… ). thought eb del , own cooking fact is, doesn't. when compiled, extension works fine @ place doesn't in different computers mine. suspect absolute url cause of troubles. using relative urls don't seem work neither.

 

what proper way achieve inclusion of external js files ?

 

tia,

 

loic

 

ps:

 

here pattern :

 

 

using class declaration :

 

[ embed (source="javascript/jsxapi.jsx" , mimetype=  "application/octet-stream" )] 

 

and in jsxfile :

 

#includepath '/users/sunsikim/documents/scripting/extensions/extensionv2/src/javascript/'

#include 'dateutilities.jsinc';

#include 'utils.jsinc';

#include 'prefsutils.jsinc';

 

//my code…

 

 

 

 

*using : http://cookbooks.adobe.com/post_communicating_between_javascript_and_the_creative-17383.ht ml

hi loic,

 

did ever solved? how?

 

regards,

mlavie



More discussions in Creative Suite Extension Builder


adobe

Comments

Popular posts from this blog

how to devide a circle into equal parts

"Could not fill because there are not enough opaque source pixels" - not solved by any other thread

Why can't I change the billing info for my account?