AnsweredAssumed Answered

Attributes Help!

Question asked by sherlyann on Mar 26, 2012
Latest reply on Mar 26, 2012 by ibespalov
I want to access my attributes in my xml file like this one.
protected function pointsXML_resultHandler(event:ResultEvent):void    {     var gArr:Array = [];     var myGraphics:Array = [];          var x:XML = XML(event.result);     pntList = x..entry;     for (var i:int = 0; i < pntList.length(); i++){      var latlong:Array = pntList.point.split(" ");      var attrib:Object = pntList[i].name;      var r:Object = pntList[i].region;      var s:Object = pntList[i].summary;            var myPoint:Geometry = new MapPoint(latlong[1], latlong[0], new SpatialReference(4326));            var coordGraphic:Graphic = new Graphic(myPoint,null,attrib);            gArr.push(myPoint);      myGraphics.push(coordGraphic);           }     var outSR:SpatialReference = new SpatialReference(3857);     geometryService.project(gArr, outSR, new AsyncResponder(projectCompleteHandler, null, myGraphics));        }

the variable [I]attrib is displayed in an infowindow. How can I access my other variables to be displayed to another view? Please help..

Outcomes