Why are there two different classes of HTTPService in Flex? this as well as this
And the second inherits the first. Why can't there be one class uniting two?
One of the objects (the first link you sent) is the HTTPService object itself.
The second object that wraps the HTTPService object and provides it with additional functionality for the <mxml /> tag.
The two probably have not been merged because you do not necessarily need to implement the IMXMLObject and IMXMLSupport interfaces every time you need an HTTService object.
mx.rpc.http.mxml.HTTPService concurrency, .
Edit:
- concurrency , , ( , ). concurrency mxml.HTTPService, rpc.
URLLoader . MXML HTTPService .
// ActionScript Style private function myService():void { var service:HTTPService = new HTTPService(); ...service.parameters = value;... service.send(); }
< !-- MXML Style -- > < mx:HTTPService > ...< parameters >... < /mx:HTTPService >
mx.rpc.http ActionScript. HTTPService mx.rpc.http.mxml. , .
: MXML showBusyCursor, , / HTTPService, concurrency, .
concurrency HTTPService, ActionScript, ActionScript HTTPService .
: Adobe Flex 3 -