Copy link to clipboard
Copied
I have a UI in extendScript with a swf file in it. I was using externalInterface to communicate between the two, and it worked in CS3, but in CS4 it doesn't work. Has anyone been able to get externalInterface to work with CS4?
I just ran the sample script without creating a trust file. The UI loaded and the two functions where called when I clicked on the buttons that called them.
Copy link to clipboard
Copied
The ExtendScript Toolkit SDK has an example script and swf file that show how to use externalinterface. The script is named ActionScriptDemo.jsx.
Copy link to clipboard
Copied
Thanks, Mike. I did go over that file to figure out how to do it the first time, which worked in CS3, but CS4 it just doesn't work. I did both methods of the trust file. I do have one question about creating a trust file. Does it matter what you name the file?
Copy link to clipboard
Copied
I just ran the sample script without creating a trust file. The UI loaded and the two functions where called when I clicked on the buttons that called them.
Copy link to clipboard
Copied
I tried to run it on my home computer and it hung, might have to try again. I just ran it on my work computer, which as a lot of restrictions on ActiveX, and it ran. Then I made the trust file for my script, as going through the macromed website didn't seem to work. The script works now with the trust file!!!