Hey!I was able to find a solution to the problem.I used the parentApplication property in the query and queryTaskZoom and it started transfering the clicks in the main AppHere is the changed function:private function sfDataGrid_Click():void
{
var obj:Object = resultsGrid.selectedItem;
if (obj != null)
{
lastIdentifyResultGraphic = null;
parentApplication.query.where = "Owner_Name = '" + obj["Owner_Name"] + "'"
parentApplication.queryTaskZoom.execute(parentApplication.query, new AsyncResponder(onResult, onFault));
function onResult(featureSet:FeatureSet, token:Object = null):void
{
lastIdentifyResultGraphic = featureSet.features[0];
lastIdentifyResultGraphic.symbol = sfs;
parentApplication.myMap.extent = new Extent(lastIdentifyResultGraphic.geometry.extent.xmin,lastIdentifyResultGraphic.geometry.extent.ymin,lastIdentifyResultGraphic.geometry.extent.xmax,lastIdentifyResultGraphic.geometry.extent.ymax);
}
function onFault(info:Object, token:Object = null):void
{
Alert.show(info.toString(), "Query Problem");
}
}
}