Storing an Array as a resource

Former Member
Former Member
I'm trying to store an array in resources.xml as

<array id="name">[a,b,c,etc]</array>

Then I'd like to use the array e.g. var myArray = Ui.loadResource(Rez.resources.array.name);

And be able to update the array (without changing it's length) e.g. Ui.saveResource(Rez.resources.array.name); // (Does Ui.save exist?)

...but doing this seems to crash my app, so I clearly have something wrong.

- Is it possible to store and use arrays in this way?
- The files in my bin directory have disappeared and aren't reappearing (this began when I started editing resources.xml and using the loadResource / saveResource functions.) Any suggestions?

Thanks!