var ac:ArrayCollection = featureLayer.graphicProvider as ArrayCollection; map.extent = GraphicUtil.getGraphicsExtent(ac.toArray());
One way I solved this issue using an boolean variable that I set initially and the updateend checks for this boolean variable (only does zooming in the first time)..
About the utility function :
GraphicUtil.getGeometries
It extracts array of geometries from array of graphics
Is there any way to get features that are outside and touching these geometries?
I mean if there are 20 geometries (of graphics), I want to get features that are outside the 20 geometries touching them...