Search  

INTERACTIVE MAP - USA

HomeBrowse CategoriesFlashApplications and UtilitiesUtilitiesInteractive Map - USA

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>
...

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";

If you’d like me to set this file up for another country or territory send me an email and we’ll get started.

Interactive Map Series

Posted 4 months ago

ok, so this may be a basic question. i am new to flash and am trying to edit your template. however, i am confused by which file i need to open and edit. do i edit the CSS ? do i edit the SWF ? do i edit the SWD , or perhaps the XML document?

the CSS looks right… but is incomplete with out all the graphics that i see in the SWF … however, i can’t find where in the SWF file (i’m using adobe flash) to edit the text, etc.

sorry, this its just confusing for a first timer. do you think you could help?

Posted 2 months ago

rocket – It depends on what you need to do. It’s probably beyond the scope of this comment box to explain the nature of using the Flash IDE and the other dependent files. Contact me on my profile page and I’ll try to assist you.

Posted 2 months ago

Just curious….howdoes this look against a white background. Due to site branding guidelines, I’d only be able to use this against a white background. Are there any examples anywhere you might be able to show?

Thanks!

Posted 2 months ago

Is there a way to make the text selectable so that someone could copy and paste? It doesn’t look possible to me.

Posted 2 months ago

Yes, click you have to open the FLA and find that text field and click the button that says selectable text.

Posted about 1 month ago

Can the map be changed?

Posted about 1 month ago

Can this go full-screen? And could I add audio and video onto the states linked area?

Posted about 1 month ago

Hi, when I include PNGs, JPGs, or GIFs into the XML , the SWF seems to resize them a bit smaller. I’ve tried including the img dimensions to solve it, but that has no effect.

Posted about 1 month ago

I have tried using html coding to add images, and its not aligning at all

Posted 12 days ago

Abenson,

Love this map, but let me ask you: how hard would it be to create an addendum to this map that included Canada? I don’t need each territory separately, it would just be as if Canada were another state. If this were to be done, what would the breakdown of the process be?

Posted 10 days ago