The code below will zoom the expand extent of a selected Graphic. I don't understand what the equivalent would be if the Graphic is a point. The point would be selected and zoomed to with a certain extent beyond the location of the point.
private function zoomToRow(graphic:Graphic):void
{
var offset:int=300;
var graphicsExtent:Extent;
if (graphic){
graphicsExtent = graphic.geometry.extent;
graphicsExtent.xmax=graphicsExtent.xmax+offset;
graphicsExtent.xmin=graphicsExtent.xmin-offset;
graphicsExtent.ymax=graphicsExtent.ymax+offset;
graphicsExtent.ymin=graphicsExtent.ymin-offset;
myMap.extent = graphicsExtent
// make sure the whole extent is visible
if (!myMap.extent.contains(graphicsExtent)){
myMap.level--;
}
}
}