I was if you could make the location of the popup a feature set and pass that to a geoprocessing task. I currently have this:
var featureSet:FeatureSet = new FeatureSet();
featureSet.features = [{ geometry: MapPoint }];
var params:Object = {
"Input": featureSet
};
gp.submitJob(params);
Any help would be greatly appreciated.
Thanks