protected function onItemClick(event:ListEvent):void { var mygraphic:Graphic = findAttributes(event.itemRenderer.data); //line 136 mygraphic.symbol = sms_fExp; }
public function findAttributes(myAttr:Object):Graphic { for each(var mGra:Graphic in myGraphicsLayer.graphicProvider) { if(mGra.attributes === myAttr) { myMap.extent = mGra.geometry.extent.expand(2.8); //line 143 return mGra; } } return null; }
<mx:DataGrid id="myGrid" width="100%" height="100%" visible="false" color="0x006699" editable="false" itemClick="onItemClick(event)" /> <!--line 201-->
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.