XML driven RollOver Map, help!

I sincerely hope some kind soul can point me in the right direction on this as i feel like my brain is about to explode!

Basically, i have created a simple rollover map of London Boroughs. I have a dynamic text box following the cursor which is populated by an edited version of the Borough MC’s instance name. So far so good.

I would really like a way of neatly loading text and image information in a pop-up for each Borough, when that Borough MC is clicked on, via an xml file which contains all relevent data.

I have managed to create a simple xml file to contain the data, and to ‘trace’ the various required attributes (borough name, data, images, captions), but am unsure how to connect the data to the action of clicking on a particular Borough.

From reading around the many xml discussions (mostly discussing image galleries) i think this involves using a loop array? As i am new to flash i am struggling to find the right way of applying this method in this circumstance.

Please help!

Yours desperately,

dfg

ok, i am attaching a basic mock-up of my map in the hope it makes things clearer, and it may have the plus point of helping out others looking to do something similar

any suggestions or pointers on my xml confusion greatly appreciated

cheers

dfg
(-:

… and xml file!

:sigh:

Thanks WhiteRau,

Have read around quite alot and will definately read that link to. I feel like i’m almost on the cusp of understanding how these nested array loop type things work and am waiting for a eureka moment to hit me! :book:

I think i’m struggling with finding the solution to tying in the ‘on release’ event of a particular MC (or in my case, Borough), to the relevant xml data. am sure i’ll feel like a numpty when i finally figure it out.

Cheers
:beer:

dfg

Just in case anyone is undergoing a similar n00b-quest on xml & flash, i’m currently reading my way through this numpty-friendly sample chapter from: [COLOR=“Blue”]**Foundation XML for Flash **[/COLOR]by Sas Jacob and it’s answering many of the questions i had!

Hope it’s useful

cheers

dfg
:thumb2: