Select to view content in your preferred language

Getting Error while running sample code of Arcgis Flex Api 3.0

780
2
08-12-2012 10:07 PM
yeshupandit
New Contributor
Hi,
I have downloaded latest  Arcgis Flex Api 3.0,while running this sample code in my Flash builder 4.5
I am getting this ERROR "ReferenceError: Error #1065: Variable JSON is not defined. "
Please let me know solution for this.

I have also try to add JSON class in same project but it did not worked.
Tags (2)
0 Kudos
2 Replies
IvanBespalov
Frequent Contributor
Hi,
1 - the similar question, more... (use forum search)
2 - in FlashBuilder (Eclipse) you can switch SDK's downloaded from adobe developer center page. [ATTACH=CONFIG]16871[/ATTACH]
0 Kudos
yeshupandit
New Contributor
Thanks for Quick Reply.
Will download latest SDK for Flex
Meanwhile for Flash Builder 4.5 I found Solution by Adding below line compiler argument
-swf-version=13

Thanks once again for Quick Reply
0 Kudos