[Laszlo-user] Flash 8 ExternalInterface class

Henry Minsky henry.minsky at gmail.com
Thu Mar 2 13:42:22 EST 2006


I think it should work, but we haven't tried it yet for anything.


On 3/2/06, DL <dl.lists at ntlworld.com> wrote:
>
> Can Flash 8 ExternalInternal class be used in openlaszlo app?
>
>  Example of lzx code anywhere?
>
>  From example here .. (not openlaszlo code) ..
>
> http://blog.deconcept.com/code/externalinterface.html
>
>  the decompiled actionscript code (in MM compiled externalinternal.swf)
> looks like this ..
>
>
>  // ================================================
> // Action script...
>
>  // [Action in Frame 1]
> if (ExpressInstall.init())
> {
>     stop ();
> } // end if
>
>  // [Action in Frame 2]
> function updateText(newVal)
> {
>     txtArea.htmlText = newVal;
> } // End of the function
> function updateColorBox(val)
> {
>     colorBox.gotoAndStop(val);
> } // End of the function
> function sendText()
> {
> } // End of the function
> var ei1 = flash.external.ExternalInterface.addCallback("updateText", null,
> updateText);
> var ei2 = flash.external.ExternalInterface.addCallback("updateColorBox",
> null, updateColorBox);
> stop ();
> // ================================================
>
>  DL
>
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user at openlaszlo.org
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
>
>
>


--
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20060302/f06de768/attachment.html


More information about the Laszlo-user mailing list