var params:Object = new Object();
params.in_features = "C:\Donnees\Adriatic\Adriatic.gdb\Situation_Geo\Sites_archeo";
params.buffer_distance_or_field = { "distance" : 2.678, "units" : "esriMiles" };
gp.execute(params);
import com.esri.ags.Units; import com.esri.ags.tasks.supportClasses.LinearUnit; params.buffer_distance_or_field = new LinearUnit(2.678, Units.MILES);
"...The service name should not contain spaces..."