Monday, February 7, 2011

How To get as2 function from javascript

Here is an AS2 example to answer your question:

//AS2
import flash.external.*;
function helloWorld():Void
{
//Do something
}
ExternalInterface.addCallback("myFunction", helloWorld);

// HTML

0 Ads:

Post a Comment