Adding code to html link that passes variable into flash?

Is it possible to add code (…html or php?) to an html link (i.e the link will be featured in an html website) that passes a variable into the flash site it links to (just something simple like '_root.pageChoice = “home3” '? So when the site opens the swf turns to a certain page?

This will be necessary as there will be links to the site from different html sites and each will need to see a different version of a certain page

thanks in advance for any help