if i need to read the query string of the page your solution is perfect (tnx again).

i was just pointing out to moagrius that if you merely want to get a variable value into a swf you don't need the 'flashVars' function, just append the name of the swf with the variable name and value, i've used this since flash 4