i used httpservice for read xml get full xml but i want particular xml fled value only like first node id only how can i split xml ?
<mx:HTTPService result="getid(event)" id="xml_coupon" url="###" useProxy="false" resultFormat="e4x"/>
public function getid((evt:ResultEvent):void
{
var id:number=evt.result.id;
Alert.show(id.tostring);
}
show all id but i want first index id only . how can i read ? i tried Alert.show(evt.getChildAt(1).id); but show some error .if you know refer me ?