<mx:Label text="Crazy about Flex"/>
You are not logged in.
Fist of all, excuse my poor English, I'm doing my best.
Hi ppl!
I'm trying to store an array plenty of strings in the EncryptedLocalStore but it doesn't work. I think there is some kind of problem when retrieving data from the store and casting it into an array.
There are no runtime/compilation errors but I can't read the strings I used to store.
Here is the code I'm using to store the array:
bytes = new ByteArray();
bytes.writeObject(myArray) as Array;
EncryptedLocalStore.setItem("arrayStored", bytes);
And here, the code to read it:
readArray = EncryptedLocalStore.getItem("arrayStored").readObject() as Array;
Can someone help me? Thanks!
Offline