function callMe (name: String): String (
return name + ":" + txtUserName.text;
First of all, through ExternalInterface.addCallback ( "myFunction", callMe); Registration methods can be put on the Ways Applicaion. Initialize the incident.
The second parameter is the Ways: Flex agent implementation of the internal function.
function Button1_onclick () (
alert (document.all ( 'related to ActiveX controls Name'). myFunction ( 'bbq'));
function getuserid ()
In Flex you can call the following ways getuserid () method.
var id: String = ExternalInterface.call ( "getuserid");
Next page study different examples of how the Flex application to share information.
Finally an old one or are interested to know many friends in Flex.
Flex the SDK Help file written quite detailed, basically to find the methods used.