You could try and wrap your request in a try ... catch block to catch the Security exception, or you could attempt to download the policy file to see if it exists before you load the layer using URLLoader and using its events for example:http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/URLLoader.html?filter_flex=4.1&filter_flashplayer=10.1&filter_air=2
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.