Overview provides an overview of how to configure RIA development using ArcGIS API for flex in Adobe Flex Builder.
"Environment" Windows XP Sp3,arcgis Server 9.3,adobe Flex Builder 3,arcgis API for Flex (Beta1)
Download and install Adobe Flex Builer 3
The Flex 3 SDK is open source, but its IDE tool Adobe Flex Builder is a freeware, free 60-day trial, available from http://www.adobe.com/products/flex/features/flex_ builder/download.
Download the ArcGIS API for Flex development Package
Download the ArcGIS API for Flex development package from the ESRI website:
Http://downloads2.esri.com/resources/ArcGISServer/Flex/agslib-9.3-beta-2008-06-11.swc
Note: The combination of both development, must be added to download the corresponding SWC, otherwise, when using Arcgic will appear: Could not resolve * to a component implementation. Error "
Create a Basic program
1) Open Flex Builder and create a Flex project (name demo).
2) Right-click the project name, select Properties, and in the Properties dialog box, select Flex Build Path as shown in Figure 1-1,
Select the Libaray Path tab, click the Add SWC to add the downloaded ArcGIS API for Flex,
The environment is well-equipped.
Description: The two combination of development, must be added to download the corresponding SWC, otherwise, when using Arcgic will appear: Could not resolve * to a component implementation. Error "
in Demo.mxml The following code is entered in the file:
<?xml version= "1.0" encoding= "Utf-8"?
<mx:application xmlns:mx= "http://www.adobe.com/ 2006/mxml "xmlns:esri=" Http://www.esri.com/2008/ags "pagetitle=" Example-arcgis API for Flex connecting to a tiled AGS SE Rvice " stylename=" plain ",
<mx:text text=" This is a tiled Map Service from ArcGIS Online. "Widt H= "100%"/>
<esri:map>
<esri:arcgistiledmapservicelayer Url= "Http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer"/>&NBSP;
</esri:map>
</mx:application>
This is the most basic ArcGIS API for flex application that compiles and runs.