|
|||
|
Hi, I'm new here.
![]() I am trying to add save slots to a game I have been making. I had a basic thing working which saved a var in a file, then could also load and send to flash player. now i want to have 2 arrays, one for save name, and the other fro the data. I manage to save the arrays fine, but im not sure the load works, and after putting replacement vars ina nd trying to send that to the flash player, it says undefined. I cant post code because it's on different computer, but it just involves setvariables("_root.var", var) and then thing1=_root.var |
|
|||
|
I couldnt find it in the help but I suspect that setVariable() doesnt do arrays? Just strings?
There is a putArray() function of the FlashPlayer object; FlashPlayer.putArray(name, value) and the corresponding; FlashPlayer.getArray(name) |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|