Select to view content in your preferred language

ArcGIS installation Problem

2013
10
03-09-2011 07:10 AM
alfredman
Emerging Contributor
I am a window 7 user , with Flex Builder 3.0. I downloaded [arcgis_api_for_flex_2_2.zip] and followed all the steps provided in the readme.txt:

1. In Adobe Flash Builder, create a new Flex project (File -> New -> Flex project).

2. Copy all the contents of the ArcGIS_Flex\samples\src folder to src folder of the Flex project created above.

3. In Adobe Flash Builder, add the API Library to the project through Project -> Properties -> Flex Build Path -> Library Path -> Add SWC (and locate the "agslib-2.2-2010-12-08.swc")


After step 3, I always have 16 Errors as listed below. What can I do to fix this? I tried many time to open new project and add different version of the api 2.0 , 2.1 and 2.2 and all produce similar errors.

Will appreciate any help. Been stuck for hours.

Thanks
Alfred

The 16 Errors are:
{ expected.  ArcFlexTest3 line 4 1299690029447 385627
{ expected.  ArcFlexTest3 line 5 1299690029448 385628
{ expected.  ArcFlexTest3 line 227 1299690029450 385642
Unexpected character: A.  ArcFlexTest3 line 12 1299690029448 385629
Unexpected character: A.  ArcFlexTest3 line 23 1299690029448 385630
Unexpected character: E.  ArcFlexTest3 line 35 1299690029448 385631
Unexpected character: I.  ArcFlexTest3 line 46 1299690029448 385632
Unexpected character: I.  ArcFlexTest3 line 80 1299690029448 385633
Unexpected character: I.  ArcFlexTest3 line 114 1299690029449 385634
Unexpected character: I.  ArcFlexTest3 line 126 1299690029449 385635
Unexpected character: L.  ArcFlexTest3 line 141 1299690029449 385636
Unexpected character: M.  ArcFlexTest3 line 152 1299690029449 385637
Unexpected character: N.  ArcFlexTest3 line 183 1299690029449 385638
Unexpected character: S.  ArcFlexTest3 line 196 1299690029449 385639
Unexpected character: T.  ArcFlexTest3 line 212 1299690029450 385640
Unexpected character: T.  ArcFlexTest3 line 223 1299690029450 385641
Tags (2)
0 Kudos
10 Replies
alfredman
Emerging Contributor
Thanks. Trying out these resources you sent. Yes, I tried to work around with the Flex 4.0 SDK. Just found that I have to recode something to make those component coded in Flex Builder 3.0 Theme (Halo) work in Flex Builder 4.0 Theme (Spark).

Thanks for all the help.

Alfred
0 Kudos