入门问题,flex4中怎么使用HttpService?
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
怎么在mxml中定义HttpService?
mx.rpc.http.mxml.HTTPService及mx.rpc.http.HTTPService又是什么?
[解决办法]
直接用
<mx:HTTPService id="http" url="http://localhost/。。。" useProxy="false" result="。。。。"/>
你也可以参考这篇文章看看:
http://www.cnblogs.com/cy163/archive/2009/06/30/1514283.html