Open GoogleCodeExporter opened 9 years ago
Hi! Thank you for this report.
Please, share code example to reproduce error, this will help a lot.
Original comment by burd...@gmail.com
on 26 Sep 2011 at 9:18
Here is an example:
<?xml version="1.0" encoding="utf-8"?>
<s:Application
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955"
minHeight="600"
creationComplete="application1_creationCompleteHandler(event)">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import aw.external.JSInterface;
import mx.events.FlexEvent;
protected function application1_creationCompleteHandler(event:FlexEvent):void
{
JSInterface.initialize(this);
}
]]>
</fx:Script>
</s:Application>
Original comment by charles....@gmail.com
on 26 Sep 2011 at 4:01
Attachments:
Hello,
I have been able to get JSInterface to function correctly by adjusting the
examples provided.
Instead of using:
JSInterface.initialize(this);
The following can be used:
JSInterface.initialize(this.root);
This issue can be marked as resolved.
Original comment by charles....@gmail.com
on 28 Dec 2011 at 4:20
Original issue reported on code.google.com by
charles....@gmail.com
on 25 Sep 2011 at 5:29