I am testing some code which calls localhost server as:
* var url:String = "http://localhost:3001";
var request:URLRequest = new URLRequest(url);
However, when this code (in the simulator) is run, I get an error:
/*App Transport Security has blocked a cleartext HTTP (http://) resource
load since it is insecure. Temporary exceptions can be configured via your
app's Info.plist file*.
I have entered (in the app.xml file):