Try..catch around the ExternalInterface call? Tracy
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of shivkxr Sent: Tuesday, March 25, 2008 11:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Need to determine allowScriptAccess/allowNetworkAccess at run time Is there a way to determine (at runtime) the values for allowScriptAccess and allowNetwork assess at runtime? In my case, I don't control the html and my Flex app is embeded in pages on other websites and some of them set these parameters such that my ExternalInterface.addCallBack() fails with an exception dialog box.