Hi All,
I am using Extendscript to do some of the crtitical functionalities for Adobe premiere pro. Programme is working fine when i run it from
Flash builder 4.6, i get all the expected result in premiere pro cs6. This is the methode i am using to invoke functions in .jsx files
[ Embed (source= "filename.jsx" , mimeType= "application/octet-stream" )]
private static var myScriptClass:Class;
public function test():void{ | |||||
var jsxInterface:flash.external.HostObject =flash.external.HostObject.getRoot(flash.external.HostObject.extensio ns[0]); | |||||
jsxInterface.eval( new myScriptClass().toString()); | |||||
jsxInterface.test(); | |||||
} |
But when i export the panel and install it in client machine there is some problem with the connection to the .jsx file i think.
I am getting an error message like this from the try catch block from this line
var jsxInterface:flash.external.HostObject =flash.external.HostObject.getRoot(flash.external.HostObject.extensio ns[0]);
Error: File or folder does not exist
at Premiere/setProfileAvailable()
at MethodInfo-9121()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
This is working perfectly in my machine.
Can somebody help me with this one...!
Thanks Anoop