Try using the "name" of your flash object along with the "id"....
<object name="detailRptGrid" id="detailRptGrid"........ I had the same problem and that fixed it. Kyle _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Raj, Senthil Sent: Wednesday, April 30, 2008 11:16 AM To: [email protected] Subject: [AFFUG Discuss] ExternalInterface.addCallBack() Hello All, Anybody had success with this ExternalInterface.addCallBack()? Your help is greatly appreciated I tried using the following and it doesn't seem to be get called Wrapper <object id="detailRptGrid"........... Javascript <script language="JavaScript"> detailRptGrid.buildReport("<%=reportXML%>"); </script> ActionScript //called during 'initialize' event of the application private function initAppVars():void { ExternalInterface.addCallback("buildReport", buildDataObjects); } public function buildDataObjects(reportString:String):void { Alert.show(reportString); } Thanks a lot Senthil Raj ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by FusionLink <http://www.fusionlink.com> ------------------------------------------------------------- ------------------------------------------------------------- To unsubscribe from this list, simply email the list with unsubscribe in the subject line For more info, see http://www.affug.com Archive @ http://www.mail-archive.com/discussion%40affug.com/ List hosted by http://www.fusionlink.com -------------------------------------------------------------
