The following PHP code is being used to get the querystring terms and dynamically add them to the SWFObject JavaScript code:
foreach($_GET as $variable => $value) {
echo "flashvars." . $variable . " = " . "'" . $value . "'; \n";
}
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