PDA

View Full Version : [asp/php] Query String to Array in Flash



Loque
June 14th, 2005, 08:04 AM
hey all,

I was wondering if someone knew if this was possible? Or if i am being un-realistic. I am relatively comfortable using the LoadVars class and can retrieve a string and use it, but is it possible to load these into an array like XML? Or a multidimensional array?

Any help is appreciated!

L

beanSoldier
June 14th, 2005, 08:11 AM
it's all in naming the variables accordingly.

if you want a multi-dimensional array do something like:

&n00=v00&n01=v01&n10=v10&n11=v11

right? so it's like a 2x2 matrix and you just read the variables.

Loque
June 14th, 2005, 08:25 AM
nice one, thanks for that,

i take it i just need to write a for loop in asp that increments the var names (like you illustrated) to be received by flash?

If anyone knows any tutorials that cover creating and filling multidimensional arrays or these for statements in asp would be very grateful! guna start coding it myself, got a feeling this could take a while :¬)

L