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
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.