For any JS libraries that you load with <script> in the HTML, you need to
make a typedef SWC and reference it on the external-library-path to expose
the APIs to ActionScript.

- Josh

On Jan 19, 2017 4:01 AM, "Carlos Rovira" <[email protected]> wrote:

> Hi,
>
> while we already need to solve how to make dialog polyfill work, I found a
> new problem that hope you guys have already managed.
>
> I need to put the following lines in my Dialog MDL component:
>
> if (! dialog.showModal) {
> dialogPolyfill.registerDialog(dialog);
> }
>
> I have dialog var in my AS3 so this is ok, but I don't have
> "dialogPolyfill" var
> So the question is...how make FlexJS aware of "dialogPolyfil" that is setup
> by the JS loaded as an external resource so I can compile my AS3 class and
> make it work in the browser?
>
>
> --
> Carlos Rovira
> http://about.me/carlosrovira
>

Reply via email to