# Php and flashvars

**URL:** <https://forum.kirupa.com/t/php-and-flashvars/238555>\
**Category:** Uncategorized\
**Created:** [September 12, 2007, 4:26pm UTC](https://forum.kirupa.com/t/php-and-flashvars/238555 "2007-09-12T16:26:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluecarnumber9](https://avatars.discourse-cdn.com/v4/letter/b/f19dbf/32.png) [@bluecarnumber9](https://forum.kirupa.com/u/bluecarnumber9)\
**Post date:** [September 12, 2007, 4:26pm UTC](https://forum.kirupa.com/t/php-and-flashvars/238555/1 "2007-09-12T16:26:47Z")

</div>

[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]
