Interactive Map – USA
* note with this example some states are deactivated to showcase this type of functionality
File Features
- Drag & Drop
- XML controlled
- Can easily activate & deactivate all states
- Change the colors easily with just 4 lines of code (active states, inactive states, outline color, roll over color) – just put in your desired hex value
- Text is managed with CSS and is HTML -formatted
- Scrollbars only appear when necessary (try clicking Texas)
- Actionscript 2
XML Preview:
<usa>
<state name="AL" active="yes">
<info>
<![CDATA[<B>Alabama</B>
Content.....]]>
</info>
</state>
<state name="AK" active="yes">
<info>
<![CDATA[<B>Alaska</B>
Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
<a href="http://www.google.com" target="_blank">This is a link</a>]]>
</info>
</state>
...
</usa>
Coloring Options
// Color for deactivated states var inactiveColor:String = "0x222222"; // Color for activated states var activeColor:String = "0x454545"; // Rollover color var rolloverColor:String = "0x666666"; // Color for map outlines var strokeColor:String = "0x252525";



