Can anyone tell me why the following is not working? --in the actionscript:
public function openWindow():void { var strFunction:String = "openWindow"; var strURL:String = "http://www.yahoo.com"; var strCall:String = ExternalInterface.call(strFunction,strURL); } --called from my linkbutton: <mx:LinkButton label="Homework" enabled="true" click="openWindow()"/> --in my .html wrapper. I have the "generate html" functionality turned off. <script type="text/javascript"> var WindowObjectReference = null; // global variable function openWindow(strUrl) { if (WindowObjectReference == null || WindowObjectReference.closed) { WindowObjectReference = window.open(strUrl,null, "resizable=yes,scrollbars=yes,status=yes"); } else { WindowObjectReference.focus(); }; } </script> I am using this from a tip used on CFLEX...its just about verbatim, but it wont work. i feel silly....please tell me if you see anything please. ------------------------ Yahoo! Groups Sponsor --------------------~--> Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/