|
|||
|
Hi, the Flash player will convert an array to a string,
In Flash: var x = [0, 'hello', 'world']; In SWFKit: FlashPlayer.x will return a string '0,hello,world' You can get back the array like this, var x = FlashPlayer.x.split(','); |
|
|||
|
I want to do the same thing,
But in my flasharray, there are allready words seperated with komma's (','). So the array structure in swfkit isn't quite the same as in my flash movie. Is there a way to pass the array to swfkit with another seperator? |
|
|||
|
Hi,
U can use any kind of seperator as u wish (§,%,;,coma,....) as long as you use only one. ie: ...split('|') >> will work but, ...split('||') won't. avoid using '&' as a separator in your string, it will cause u some pb sooner or later. SeeU Madcha
__________________
http://www.alyze.com - http://www.ecomzone.net - http://www.alisook.com -http://www.madcha.com - http://www.i-multimedia.fr - |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|