Determining The URL

Hey Guys,
I was wondering if there is a way to determine what url is playing the flash movie? Please let me know. The _url variable tells me the location of the swf file itself, however that is not what I want. I want to know what URL is playing the movie… I this possible its gotta be possible.

The use I have for this is so that on a website they only have to load the header once, and when they go to the seperate pages… then it will not allow you to click the link to that page… For example, when you are on the contact page, the contact button in the flash file will not be able to be clicked and will use a different picture. Do you guys get what I’m saying…
I have it all worked out, I just need to know if there is a way to see what url you are being played from.