Hello,I'm making a widget that asks user to make a selection and thenfills an information about selected objects in a Tree Control.It searches all the operational layers loaded on the map and executesspatial query to get FeatureSet for every layer.I'm using this function to get result from the query and to put the selected objects in ArrayCollection, later used as dataprovider for Tree Control:private function onResult(featureSet:FeatureSet, token:Object = null):void { var queryLayer:FeatureLayer = null; if(token != null && token.hasOwnProperty("layer")){ queryLayer = token["layer"]; if(featureSet.features.length > 0){ // ArrayCollection holding selected objects by layers this.SelectedObjectsMap.addItem({label: queryLayer.name, children: new ArrayCollection(featureSet.features)}); // tree control this.treeSelection.dataProvider = this.SelectedObjectsMap; } } }This function I'm using to label all the items in Tree Contrrol:private function treeLabeling(item:Object):String{ // here I need information about Layer name if(item is Graphic){ return (item as Graphic).attributes["STATE_NAME"].toString(); } return item.label; }The problem is that here I need to know from which Layer is this object. Is it possible to get this information from Graphic object, or FeatureSet collection?Thanks---Bogdan HristozovPontech Bulgaria