Toughest Questions Ever... For me... Embed URL?

Hey everyone!

This may be a simple answer for some of you, but I heard that there might be a way to do this. What I want to do… is flash to write to itself. In other words, when flash runs on a webpage I want it to read the url (not difficult) then I want it to embed, into the swf, the url it is on. Is this possible?

Thus then I could read the swf later and find the url it was run on?

Thanks!