Found Robert's code! Thanks again
private function doQuery():void
{
queryTask.execute(query, new AsyncResponder(onResult, onFault));
function onResult(featureSet:FeatureSet, token:Object = null):void
{
var multiPoint:Multipoint = new Multipoint();
for each (var gra:Graphic in featureSet.features)
multiPoint.addPoint(MapPoint(gra.geometry));
map.extent = multiPoint.extent.expand(1.5);
}
function onFault(info:Object, token:Object = null):void
{
Alert.show(info.toString());
}
}