More info:
I am following this
http://livedocs.adobe.com/flex/3/html/data_access_2.html#195243
<http://livedocs.adobe.com/flex/3/html/data_access_2.html#195243>
( see below)
<http://livedocs.adobe.com/flex/3/html/data_access_2.html#195243>
and I have left out two things I see-
"destination" and parameters
parameters would be destination and rooturl, both of which seem optional?
Broken:
the result event is not firing and calling the httpResult function in my
code
############### adobe docs sample #############
private var service:HTTPService
public function useHttpService(parameters:Object):void {
service = new HTTPService();
service.destination = "sampleDestination";
service.method = "POST";
service.addEventListener("result", httpResult);
service.addEventListener("fault", httpFault);
service.send(parameters);
}
public function httpResult(event:ResultEvent):void {
var result:Object = event.result;
//Do something with the result.
}
thanks for the help,
John