Is there a way to filter FindTask by an extent? Directly no. Usually one needs to generate a QueryTask.
ArcGIS FindTask filtered by Extent
There is a way though one can do this using an extent filer, See the following code:
private function executeFindCompleteHandler(event:FindEvent):void
filteredFindFeature = new Array();
//We need to filter the find result to ensure we only display
//results within the max exent
for each(var item:* in event.findResults)
//is the results are within our max extent
if(maxExtent.containsExtent(item.feature.geometry.extent) || maxExtent.intersects(item.feature.geometry.extent))
_model.findResults = filteredFindFeature;
The above is a handler for the FindTask request. We have a maximum extent for this map (maxExtent), and would like to limit our resultset to this extent. By default FindTask returns all results for the endpoint. Here we are checking to see if the results are within our max extent and only storing that result if it is. Note, if you are returning large amounts of data, this may perform slowly.