# Story Array in SharedObject

**URL:** <https://forum.kirupa.com/t/story-array-in-sharedobject/291714>\
**Category:** flash\
**Created:** [July 3, 2009, 4:40pm UTC](https://forum.kirupa.com/t/story-array-in-sharedobject/291714 "2009-07-03T16:40:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TZP](https://avatars.discourse-cdn.com/v4/letter/t/5f9b8f/32.png) [@TZP](https://forum.kirupa.com/u/TZP)\
**Post date:** [July 3, 2009, 4:40pm UTC](https://forum.kirupa.com/t/story-array-in-sharedobject/291714/1 "2009-07-03T16:40:48Z")

</div>

Good day to you.  
Can anyone tell me how I can store an array into a sharedObject? I m using this code:

```auto

 
_myArray.push("First");
_myArray.push("Second");
...
...
_mySharedObject.setProperty("anArray", _myArray);

```

But on the Flash Media Server 3.5 I only get this message

Object encoding error; terminating connection

This is really bad…everything else works. I can add a Number or String as Property…only the array doesn´t work. Any ideas?

Thx!  
TZP
