package Helper { /* HttpRequest类 power by Ak18.cn 2013-06-19 Get请示例子 var req:HttpRequest=new HttpRequest(); req.Get(url,completeHandler); Post请求例子 var par:URLVariables=new URLVariables(); par.theCityName="北京"; req.Post(url,par,completeHandler); */ i
简单的读取XML:加载部分var myXML:XML = new XML(); var XML_URL:String = "dat.xml"; var myXMLURL:URLRequest = new URLRequest(XML_URL); var myLoader:URLLoader = new URLLoader(myXMLURL);