|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Sep 2004
Posts: 13
|
Is XML the only way you can pass external data to flash in an array?
Is XML the only way you can pass external data to flash in an array?
Or is there another way? |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Feb 2004
Location: Los Angeles
Posts: 2,920
|
You can pass the data in a single string variable using a delimiter, such as a comma.
xx=dog,sheep,cats,elephants These variables can be passed using LoadVars, or sent to the movie as part of the HTML that loads it. Then use the String.split function to turn it into an array inside flash. xary = xx.split(','); |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2004
Posts: 13
|
This works? That is a great idea! Thank you!
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|