The best way to build graphs in Flash?

Hi all,
I have to make a graph with 2 parts the main view which you can drag and a bottom part which will show your location on the whole graph. how can i make the 2 move together, I have attached a small jpg of what i mean. Any help would be great even if some1 could tell me the words to Google to find out this process would be fantastic. :slight_smile:

Cheers