This content has been marked as final. Show 4 replies
Never mind i solved it , mx:HTTPService and "var serv:HTTPService" clash when i . import mx.rpc.http.HTTPService.
Ok i changed it to <mx: and it works. :There is no casting , XML is what i get and XML i what i suply to datagrid.
Also, use (evtObj:ResultEvent) instead of just Event. You'll need to import mx.rpc.events.ResultEvent;
And avoid using "lastResult" in a handler. Instead do:
var xDBlist:XML = XML(evtObj.result);
Finally, make sure you have set resultFormat="e4x";
1119: Access of possibly undefined property result through a reference with static type flash.events:Event.
What produces that?