I am trying to run a set of jsx scripts and a flex plugin, that the script opens, in InDesign CC. It all worked fine in previous versions since InDesign 3. In the jsx, after the swf is loaded, the script does this:
this.fp.getParagraphStyles = getParagraphStyles;
The actionscript of the flex plugin does this:
var paragraphStyleStr:String = ExternalInterface.call("getParagraphStyles");
But in the next line in the actionscript code after the external interface call, if I alert on the value of paragraphStyleStr, it is null. I have a try / catch around the call and it does not throw an error.
The above function is just one example. I have a number of such functions that are called in the jsx from actionscript as external interfaces. In all cases, the invocations are fine, but while return values are properly populated in the jsx function they are not showing up in the actionscript variable that accepts the return value from the call.
Is this a bug or is there some item of configuration in InDesign CC that perhaps I am overlooking?
Also, I noticed that the InDesign CC SDK is not officially released yet. Is the integration I'm trying to test reliant on the gelling and release of the SDK?
Any help appreciated.
Much thanks in advance,