I'm looking to fetch data from another server and have a few
1) The request path is provided by the user (host remains the
2) I need to add a few http headers.
3) The response data is text (not necessarily xml).
Is HTTPService or URLRequest the appropriate approach? I've
begun working with URLRequest, but bumping into the problem that I
get the following error on what I believe are non-200 responses:
URLLoader can only load data on the same domain as the .swf.
HTTPService can be used to access data from another domain. Check
Here's the key information from URL loader:
"The value you pass for the url parameter must, by default,
be in exactly the same domain. For example, a SWF file at
www.adobe.com can load data only from sources that are also at
www.adobe.com. To load data from a different domain, place a
cross-domain policy file on the server hosting the SWF