# Array issue... as3... pls help

**URL:** <https://forum.kirupa.com/t/array-issue-as3-pls-help/329570>\
**Category:** Uncategorized\
**Created:** [September 16, 2012, 12:54am UTC](https://forum.kirupa.com/t/array-issue-as3-pls-help/329570 "2012-09-16T00:54:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leo75](https://avatars.discourse-cdn.com/v4/letter/l/779978/32.png) [@Leo75](https://forum.kirupa.com/u/Leo75)\
**Post date:** [September 16, 2012, 12:54am UTC](https://forum.kirupa.com/t/array-issue-as3-pls-help/329570/1 "2012-09-16T00:54:21Z")

</div>

Hello everyone… I am trying to populate my array, but looks like i am only getting the last value… Why is that? And i HAVE to populate it in that weird way of what looks like: Key/value…  
Here is the code:

```auto

               var final_info:Array = new Array();
                var i:int = 0;
                while (i < (temp_entire_info.length-1))
                {
                    // name|123|123|place|1218
                    var single_info:Array = temp_entire_info*.split("|");

                    final_info = [{Name:single_info[0], 1_pos:single_info_street[1], 2_pos:single_info[2], place:single_info[3], time:single_info[4]},];
                    i++;
                }

```

Any help will be very welcome…  
🙂
