|
|||
|
Good day,
I am currently busy evaluating your product for our company and I must say that so far I am impressed with its capabilities, undocumented behaviour aside of course. So far using setVariable is the easiest way of pushing arrays into Action Script. An interesting observation that I made is that if I call .join("|") on a two dimensional array, the values of the inner arrays become comma separated while the arrays themselves become pipe separated. What I would like to know is whether an undocumented means exists for overloading the .join() method to specify the main and sub separator so that I could call .join("&","|") and have the the array values ampersand separated while the arrays become pipe separated? As it is, the current functionality that is offered by the .join() method is sufficient but it would be nice to be able to specify the inner .join() character to something that a user will not use when supplying data. Thank you in advance. |
|
|||
|
Sorry,
It must be the time of day that got to my brain. I just realised that i can join the inner arrays' values first with any character that I want and then after that join the arrays together with another character. : ![]() *sigh* |
|
|||
|
The FlashPlayer.putArray method can transfer an one dimensional array.
You can use the method to transfer the two dimensional array firstly and then split each element in the array. The sample shows how to do this |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|