ArcGIS API for Flex II, development environment configuration

Source: Internet
Author: User
Tags xmlns

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.