|
public function callWrapper(id:String, url:String):void {
var f:String = "changeMainContent";//Javascript function
ExternalInterface.call(f,id, url);
}
Now a call this method when a button is clicked is as follows:
|
public function callWrapper(id:String, url:String):void {
var f:String = "changeMainContent";//Javascript function
ExternalInterface.call(f,id, url);
}
Posted by Jon at 4:21 AM
Labels: Flex Vs JAVA