[Laszlo-dev] suggested improvement for loadJS in SWF9 runtime
Henry Minsky
hminsky at laszlosystems.com
Mon Nov 9 19:39:24 PST 2009
Did you try the callJS method? I believe it uses the ExternalInterface
calls.
On Mon, Nov 9, 2009 at 10:12 PM, Chris Kohlhardt <chrisk at gliffy.com> wrote:
> Hey there. It's been a while. :)
>
> We're migrating our massive laszlo application to SWF9. We do several
> javascript calls in our app, and I was having issues calling
> lz.Browser.loadJS() several times in a row. Basically, not all the calls
> were making it through to the browser's javascript.
>
> Anyway, after much trial and error, I discovered that as3 has
> ExternalInterface.call() for this purpose, and sure enough, using this
> native call directly works.
>
> So.... not sure if this is the right place to suggest this, but you might
> consider updating loadJS() in kernel/swf9/LzBrowserKernel.lzs with
> ExternalInterface.call().
>
> -chris
>
--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20091109/332e4e9b/attachment.html
More information about the Laszlo-dev
mailing list