The ArcWeb Explorer Flex API lets developers add customizable ArcWeb content and functionality to their Rich Client Applications written in Flex 2.
Download the following files:
Create a new folder for your Flex application and place the SWC files in the root folder of the new application.
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>
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.
Visit the Feedback page to give comments or suggestions about the ArcWeb Explorer Developer's Guide.