title: Flash can't contact my RESTful webservice when hosted online
body: <p>I'm experiencing some strange behaviour with a Flash project I'm working on. It's a web game that contacts a RESTful webservice to save and load gamedata, that seems to break when hosted online but works OK when I use it locally.</p>
  
  <p>When I run the project offline (in the Flash IDE), everything works: I get a HTTP response code of 200/500 (depending on if it's a new user or not), which is 100% expected behaviour. All data uploads and downloads successfully.</p>
  
  <p>However: when I host the project online, my queries immediately return a response code of zero, which breaks the project.</p>
  
  <p>I know, based on other threads, that Flash's HTTP response handling is pretty bad, and actually I'm not <em>too</em> bothered about the response as I don't do anything with it apart from use it to check things are working.</p>
  
  <p>I'm assuming this is a security sandbox issue, or similar, but I'm completely out of ideas. I've made sure the Flash files are set to networked ones (in my Publish settings), and have allowed script access in the HTML that holds the file. I've also screwed around with Security.allowDomain("*") and nothing seems to work.</p>
  
  <p>Can anyone suggest what I may be missing here? Thanks in advance!</p>