title: Flash Security Error Accessing URL with crossdomain.xml
body: <p>I recently deployed a Flash application to a server, and am now experiencing errors when making HTTPService requests.  I have put what I believe to be the most permissive crossdomain.xml possible in the wwwroot folder, and still get the errors.</p>
  
  <p>Interestingly enough, the error only seems to occur when the request is made from a direct user interaction (i.e. button click).  The application makes other requests that are initiated by other means(i.e creationComplete) , and they seem to work as expected.</p>
  
  <p>Anyone see anything wrong with the crossdomain.xml, or have any other suggestions?</p>
  
  <p>ERROR MESSAGE</p>
  
  <p>[RPC Fault faultString="Security error accessing url" faultCode="Channel.Security.Error" faultDetail="Destination: DefaultHTTP"]
   at mx.rpc::AbstractInvoker/<a href="http://www.adobe.com/2006/flex/mx/internal::faultHandler()" rel="nofollow noreferrer">http://www.adobe.com/2006/flex/mx/internal::faultHandler()</a>
   at mx.rpc::Responder/fault()
   at mx.rpc::AsyncRequest/fault()
   at DirectHTTPMessageResponder/securityErrorHandler()
   at flash.events::EventDispatcher/dispatchEventFunction()
   at flash.events::EventDispatcher/dispatchEvent()
   at flash.net::URLLoader/redirectEvent()</p>
  
  <pre><code>&lt;!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"&gt;
  &lt;cross-domain-policy&gt;
   &lt;site-control permitted-cross-domain-policies="all" /&gt;
   &lt;allow-access-from domain="*" secure="false" /&gt;
   &lt;allow-http-request-headers-from domain="*" headers="*" secure="false" /&gt;
  &lt;/cross-domain-policy&gt;
  </code></pre>