|
|
|
#1 |
|
Junior Member
Join Date: Sep 2004
Posts: 7
|
Using arrays with LoadVars.sendAndLoad
Is it possible to send and load arrays using LoadVars.sendAndLoad() and php? If it is possible, does anyone have an example on how to do so?
Thanks |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
|
I don't have a complete example, however, if you already have code that can use PHP and sendAndLoad to load a single string variable, you're nearly there.
To load a string variable, you might send something like str=xxxxxxxxx If you put the array elements in the string, separated by a delimiter, such as '.' str=xxx.xxx.xxx.xxx.xxxx You can then, in actionscript, split this up into an array. ary = str.split('.'); - Jim |
|
|
|
|
|
#3 |
|
Multitouch Aficionado
Join Date: Mar 2006
Posts: 275
|
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|