handleResponseObject(JSONUtil.decode(event.data))
handleResponseObject(JSON.parse(event.data));
using default of 4.5.1
ok, thanks. i have downloaded the SDK from http://www.adobe.com/devnet/flex/flex-sdk-download.html , extracted, and imported through Window>Preferences>Flash Builder > Installed Flex SDKs. I then changed the line of code back to what it was previously, referenced the 4.6 SDK under the Flex SDK version in project properties and all errors are gone. Many thanks for the quick help.
That's good. If you click that green checkmark over on the right side of the post, it will mark the thread as Answered.
I think you need to use SDK 4.6 for Flex Viewer 3.2:http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Flex_development/01m300000020000000/
I see that as well, but I don't get an error upon compiling. Which Flex SDK are you using?
Hello,Today i downloaded the new ArcGIS Viewer for Flex v3.2 from gitHub. The import and adding the swc as usual went fine but i got an error in the Georpocessing widget. Specifically it was located in rendereres >input>GPInputDataFileParamItemRenderer.mxml>Line 132 (in the fileRef_uploadCompleteDataHandler() function). The error says 'Access to undefined property JSON'.Importing com.esri.ags.utils.JSONUtil and modifying the call on line 132 to:handleResponseObject(JSONUtil.decode(event.data))from:handleResponseObject(JSON.parse(event.data));resolved the error. I am not using the geoprocessing widget right now, but will be soon so wanted to make sure this was gonna fly once i do use it.-daniel
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.