Displaying Mapping Coordinates of HTML through an XML file on a MAP using Flex.
Description
The following example shows how to use mapping coordinates generated in HTML using
<MAP> <AREA> tag and displaying the Mapping Coordinates in Flash Player using AS3 by means of an XML file.
SAMPLE APPLICATION:
 
In the above sample each State of the map is a SPRITE formed using graphics object methods.
The graphics object used the coordinated developed by HTML mapping tool.
The xml file contains all the values like coordinates, color, state names, capitals, description etc...
The xml file was read using HTTPService and was parsed into a Custom Class.
On click of a particular sprite all information is displayed in the Panel container.
The whole data for drawing the coordinates and the information displayed for each and every state was captured from an XML file.
The snapshot of the XML file and the HTML files were given below.
Other Classes used were:
CursorManager, ToolTipManager, Timer, Events, filters.
The Below is a snap-shot of HTML with <MAP> <AREA> tags

The Below is a snap-shot of XML used in the application.