URL Variables

Hi

I’m hoping someone can help me with a little URL Variables problem I am having.

What I am trying to achieve is:

A page containing a swf which has navigation and images. when you click (for example) Link001 it will load a new .html page, with a certain action happening within the swf on this page which is dependent on what link has been clicked on the previous page.

I have managed to get this to work with URL Variables - but only when viewing the swf directly in my browser, but not when it is embedded within a html. For example, these work as I want

http://junction36.com/clients/kazoo/kz_zoomer_final04.swf?page=about
http://junction36.com/clients/kazoo/kz_zoomer_final04.swf?page=contact

whilst these dont.

http://junction36.com/clients/kazoo/kz_zoomer_final04.html?page=about
http://junction36.com/clients/kazoo/kz_zoomer_final04.html?page=contact

The actionscript I have within the swf is as follows:

if (page==“about”) {
image.flyTo(aboutX, aboutY, 12, 1);
}

else if (page==“clients”) {
image.flyTo(clientsX, clientsY, 12, 1);
}

else if (page==“campaigns”) {
image.flyTo(campaignsX, campaignsY, 12, 1);
}

else if (page==“contact”) {
image.flyTo(contactX, contactY, 12, 1);
}
else if (page==“jobs”) {
image.flyTo(jobsX, jobsY, 12, 1);
}
else {
image.flyTo(homeX, homeY, 12, 1);
}

If anybody can help me with this, I will be most grateful!
Cheers
Matt