Php and flashvars

[FONT=Arial][SIZE=2][FONT=Arial]How would I go about retrieving[/FONT] [FONT=Arial]flashVars in actionScript (passed via the flasVars param), if I don’t know what the names and number of these variables are?[/FONT][/SIZE][/FONT]
[FONT=Arial][SIZE=2][FONT=Arial]
For example, I have a dynamically generated list of flash vars, which depending on the cisrcumstance could be:
var1=bar&var2=foo[/FONT][/SIZE][/FONT]
[SIZE=2]
[FONT=Arial]but could as well be:
var1=bar&var2=foo&var3=blah&var4=something[/FONT]

[FONT=Arial]What is the best way to determine the vars names and number in actionScript? :hr: [/FONT][/SIZE]
[FONT=Arial][SIZE=2][/SIZE][/FONT]
[FONT=Arial][SIZE=2][/SIZE][/FONT]