How can I get the content of a requested url, that returns an html-page, passed into a string, with java in flash actionscript. ?! I have this for now
var req:URLRequest = new URLRequest("http://somedomain.com/index.php");
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.addEventListener(Event.COMPLETE, handleVariables);
loader.load(req);
what do I have to write in the function handleVariables?!