[Laszlo-user] Flash 8 ExternalInterface class
DL
dl.lists at ntlworld.com
Thu Mar 2 13:36:30 EST 2006
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20060302/8ffcbd9e/attachment.html
More information about the Laszlo-user
mailing list