protected function addAttribInspector():void { attrInsp = new AttributeInspector([mainMap.getLayer('fLayer') as FeatureLayer]); attrInsp.formItemsOrder = FormItemsOrder.NONE; attrInsp.percentWidth = 100; attrInsp.percentHeight = 100; infoBC.removeAllElements(); infoBC.addElement(attrInsp); }
<esri:FeatureLayer id="fLayer" mode="selection" outFields="*" selectionComplete="myFeatureLayer_selectionCompleteHandler(event)" selectionColor="#FF0000" fault="fLayer_faultHandler(event)" graphicAdd="fLayer_graphicAddHandler(event)" />
Solved! Go to Solution.