swfobject comes with a “global” javascript function called getQueryParamValue and you can use it for setting query/address string variables into FlashVars

more @ http://blog.guya.net/2006/07/21/best-way-to-get-address-variables-into-flash/