# Status of a loadPolicyFile()?

**URL:** <https://forum.kirupa.com/t/status-of-a-loadpolicyfile/212726>\
**Category:** Uncategorized\
**Created:** [January 13, 2007, 4:05pm UTC](https://forum.kirupa.com/t/status-of-a-loadpolicyfile/212726 "2007-01-13T16:05:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ZenBlender](https://avatars.discourse-cdn.com/v4/letter/z/a4c791/32.png) [@ZenBlender](https://forum.kirupa.com/u/ZenBlender)\
**Post date:** [January 13, 2007, 4:05pm UTC](https://forum.kirupa.com/t/status-of-a-loadpolicyfile/212726/1 "2007-01-13T16:05:41Z")

</div>

This thing is driving me INSANE. I am connecting to a Java game server via an XMLSocket and serving the crossdomain.xml policy file via loadPolicyFile(). The problem is, the thing either works, or it doesn’t. Is there any way I can get any status information back from loadPolicyFile() ? Anything would help – file didn’t load, file is invalid, anything. Is there a way to attach an onLoad handler to this? The documentation claims that this thing will wait for a response before it attempts any connections. But I have no idea if it is doing that and THEN failing, or what.

Thanks for any help!
