HiCan anybody tell me why if I have just one record returned in the query, the map extent does not go to the graphics extent (most of the time when I have just one record returned)? Here is the code snippetfor each(var graphic : Graphic in featureSet.features) { graphic.symbol = resultsSymbol; graphic.addEventListener(MouseEvent.MOUSE_OVER, onMouseOver); graphic.addEventListener(MouseEvent.MOUSE_OUT, onMouseOut); if (graphic.attributes.Homepage !== " " || graphic.attributes.Email !==" ") { graphic.addEventListener(MouseEvent.CLICK, clickongraphic) } myGraphicslayer.add(graphic); } var graphicsExtent:Extent = GraphicUtil.getGraphicsExtent(featureSet.features); if (graphicsExtent) { //IT STOPS WORKING AFTER A FEW QUERIES!!!! myMap.extent = graphicsExtent.expand(1.3); //zoom out a little if (!myMap.extent.contains(graphicsExtent)) { myMap.level--; } I also tried this other code with no success: var graphicProvider:ArrayCollection = myGraphicsLayer.graphicProvider as ArrayCollection; var graphicsExtent:Extent = GraphicUtil.getGraphicsExtent(graphicProvider.toArray()); map.extent = graphicsExtent.expand(1.1); // zoom out a little }