Robinsonx6
asked on
How do i programatically send a httpService.send
i have a flex 3 web app and a class with the following function attached
but when i run this i allways get the error
[MessagingError message='Destination 'php/serve.php' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
but when i run this i allways get the error
[MessagingError message='Destination 'php/serve.php' either does not exist or the destination has no channels defined (and the application does not define any default channels.)']
public function SavetoSQL() : void {
var params:Object = {};
params["action"] = "savedefaulttourdata";
var service : HTTPService = new HTTPService();
service.destination = "php/serve.php";
service.method = "POST";
service.addEventListener("result", httpResult);
service.addEventListener("fault", httpFault);
service.send(params);
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Any luck getting it to work? post your new code if not
ASKER
sorry for the delay i have been off work for some time due to a tuma in the old engine