You are here: Flex API > Getting started with ArcWeb Explorer Flex API

Getting started with ArcWeb Explorer Flex API

The ArcWeb Explorer Flex API lets developers add customizable ArcWeb content and functionality to their Rich Client Applications written in Flex 2. 

Requirements

Displaying ArcWeb Explorer using Flex 2

  1. Download the following files:

  2. Create a new folder for your Flex application and place the SWC files in the root folder of the new application.

  3. Create a new Macromedia XML (MXML) file in the root folder of the new application and add the ArcWeb Explorer name space to the mx:Application tag so that the tag looks like this:

    <mx:Application
      xmlns:mx="http://www.adobe.com/2006/mxml" 
      xmlns:awx="http://www.arcwebservices.com/2007/awx">
    </mx:Application>
    

  4. Create a new ArcWeb Explorer tag, awx:Map, where you would like to place the map in your application. See the show map sample for details.

    For example:

    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
      xmlns:mx="http://www.adobe.com/2006/mxml" 
      xmlns:awx="http://www.arcwebservices.com/2007/awx">
      <awx:Framework apiKey="<ArcWeb Explorer API Key>"/>
      <awx:Map/>
    </mx:Application>

For detailed descriptions of the ActionScript classes and methods in the ArcWeb Explorer Flex API, see the ArcWeb Explorer Flex API Reference.

See also


Visit the Feedback page to give comments or suggestions about the ArcWeb Explorer Developer's Guide.

ArcWeb site | ArcWeb support | support.esri.com

Copyright © ESRI