Passing values via URL


I have committed to doing something that I thought would be really easy, but I can’t get it to work.

I want to be able to call an HTML page containing a Flash movie and have that Flash movie pick up a value from the URL of the page in which it sits.

So, I want to create a link to the HTML page such as:

<a href=“”>Click here</a>

This will open the browser page so that the URL is:

I then want the Flash movie on mypage.html to read in the value John and put it into the movie variable myname.

I can see how to do it using pre-coded parameters as part of the HTML that loads the SWF, but I want the value to be determined by the calling link, not predetermined within the HTML on the movie page.

I also don’t want to have to create a dynamic HTML page for my movie if I can avoid it.

Does that make sense?

Can it be done?

HEEELP please. A speedy response will earn my undying gratitude and £50 to the Disaster Emergency Committee appeal for flood relief in Pakistan.

John ;~)