This content has been marked as final. Show 3 replies
Put your READ HttpService.send() inside your DELETE HttpService's resultHandler function.
I've add result="listcls.send()" in the DELETE httpService like that:
<mx:HTTPService id="supcls" url=" http://127.0.0.1:32000/suprcls.php" useProxy="false" method="POST" result="listcls.send()">
But it don't work... always the same problem... :-(
If I understood correctly, you want to send DELETE, get result, then fire off READ, then get result? You can definitely use two HttpServices in your app. Make two result handlers, first call DELETE, then on result why not call both the DELETE result handler and READ send and wait for that result?
<mx:HTTPService id="supcls" url=" http://127.0.0.1:32000/suprcls.php" useProxy="false" method="POST" result=" handleDeleteResult();listcls.send()">
Or, handle the result of DELETE and in that function, call the READ.send(). I think that's the same thing Jeffrey was aiming at.