I am having trouble accessing the attribute table of a returned geoprocessing result, and was hoping someone could help. executeComplete calls the following function: private function showResult(event:GeoprocessorEvent):void { messages.text = "Best Route Displayed"; this.cursorManager.removeBusyCursor(); Alert.show(event.executeResult.results[0].value.features[0].attributes.SEQUENCE + "");
However, the alert shows up undefined when the GP service (http://129.2.24.163/ServerMPSArcGIS/rest/services/PCTools/GPServer/Best_Route - publicly accessible if you want to take a look) clearly shows that SEQUENCE is an attribute of the the first output (results[0]). What could I doing wrong? Also, assume I know very little about ActionScript and Flex - I'm fairly new to this. Thanks!