Select to view content in your preferred language

ArcGIS API for Flex 2.0 Beta is now available

4975
15
02-05-2010 06:34 AM
BjornSvensson
Esri Regular Contributor
The Flex API 2.0 beta is now available at http://resourcesbeta.esri.com/content/arcgis-api-flex

If you don't read any other documentation, you might want to
at least read these "Three Potential Initial Gotchas":

1. Requires Adobe Flex 4 SDK.
2. You should use Flash Builder 4 beta 2 as your IDE.
3. If connecting to a 9.3 server, you need to set the useAMF property to false for Query, Geoprocessor and FeatureLayer.
Tags (2)
0 Kudos
15 Replies
RebeccaStrauch__GISP
MVP Emeritus
I followed the instructions to add the FB 4 beta 2 SDK and the Flex API 2.0 update 1 to Flex Builder 3.  When trying to run an application I amd getting errors

"1046: Type was not found or was not a compile-time constant: Matrix 3D"

or ... GraphicsStroke, or Vector3D, or Number (73 errors in all).

Was I supposed to copy the 2.0 (not update 1) prior to the update?  Is this a problem with the API or with my Flex install?

Any help would be appreciated.  Thanks
0 Kudos
BjornSvensson
Esri Regular Contributor
Not sure about your specific error, but ... while it might be possible to use Flex Builder 3, we recommend developers use Flash Builder 4.

See the "Requirement Changes" at http://help.esri.com/en/webapi/flex/help/index.html#migrating.htm

As for the SDK, you would only use the "Update 1" version of the API Library.
0 Kudos
RebeccaStrauch__GISP
MVP Emeritus
Unfortunately department policy is not to use FB 4 since it's still in beta.  I figured I could sneak it by if I just used the SDK beta.   But I think I'm going to try it on my personal laptop to see if I can get it to work there.  Hopefully that will do the trick.  😉
0 Kudos
DasaPaddock
Esri Regular Contributor
If you're using the Flex 4 SDK in FB3, make sure you set the minimum flash player version to 10.0.0 in your project settings.
0 Kudos
RebeccaStrauch__GISP
MVP Emeritus
I will double check that setting once I'm back in the office and check it out again.  That is probably my problem.
Thanks
0 Kudos
deleted-user-rQoEFM5qzbHE
Deactivated User
Where do I put the code for the FeatureLayerClustering. I tried inserting it in the ViewerContainer.mxml, but I think it is covered up by the layers in the config.xml. That is one of things I have struggled with. The new API seems to take a different approach from previous versions and general coding in FLEX.

Thanks.
0 Kudos