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

Use javascript to make a Flex panel?

Advisor ,
Nov 16, 2012 Nov 16, 2012

Copy link to clipboard

Copied

Trying to make a functional indeterminate progress bar, i'we tried almost anything i could think of. nothing worked (or it worked badly). the one thing i haven't tried yet is to use actionscript to create a palette with a swf movie inside.

but i need to create and call this palette using javascript.

is there a way to do this? something like:

app.doScript("actionscript code bla bla bla",ScriptLanguage.ActionScript)

??

TOPICS
Scripting

Views

803

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 ,
Nov 16, 2012 Nov 16, 2012

Copy link to clipboard

Copied

You can't run a Flex script with doScript, you need to "run" it as an SWF inside a ScriptUI component:

http://blogs.adobe.com/indesignsdk/2009/05/flash_uis_with_indesign_cs4.html

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
Advisor ,
Nov 16, 2012 Nov 16, 2012

Copy link to clipboard

Copied

LATEST

then it's useless, as the scriptUI palette does not update/refresh while indesign is doing something else..

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