Mini Map

I need to create a mini map like the one in this link:

Its pretty aint it? Well that one is done with images…I need to be able to create a minimap of an MC which has dynamic floorplan drawings that are read in from an external xml file…these floorplans are drawn in actions script using x/y coordinates. Any ideas to get even a basic minimap to work for this? Ideally I should be able to drag and zoom and pan around by dragging around a box on the minimap…please help! Anywhere I can find a step by step to do this? I cannot reveres engineer the code in the fla in the above link.