The following PHP code is being used to get the querystring terms and dynamically add them to the SWF's flashvars param:
<?php
$flashvars = "";
foreach($_GET as $variable => $value) {
$flashvars .= $variable . "=" . $value . "&";
}
//Get rid of the last ampersand
$flashvars = rtrim($flashvars, "&");
?>
<param name="flashvars" value="<?php echo $flashvars ?>" />
Click one of these links to populate the querystring:
The explanation for this example is here.
More examples can be found at http://pipwerks.com/lab/swfobject