• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

ExternalInterface CS4

Community Expert ,
Mar 14, 2010 Mar 14, 2010

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?

TOPICS
Actions and scripting

Views

744

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Mar 14, 2010 Mar 14, 2010

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.

Votes

Translate

Translate
Adobe
Guru ,
Mar 14, 2010 Mar 14, 2010

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2010 Mar 14, 2010

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Mar 14, 2010 Mar 14, 2010

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 15, 2010 Mar 15, 2010

Copy link to clipboard

Copied

LATEST

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!!!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines