# How to load Array to the text field?

**URL:** <https://forum.kirupa.com/t/how-to-load-array-to-the-text-field/187498>\
**Category:** flash\
**Created:** [April 29, 2006, 7:45pm UTC](https://forum.kirupa.com/t/how-to-load-array-to-the-text-field/187498 "2006-04-29T19:45:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jankratochvil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jankratochvil/32/566_2.png) [@jankratochvil](https://forum.kirupa.com/u/jankratochvil)\
**Post date:** [April 29, 2006, 7:45pm UTC](https://forum.kirupa.com/t/how-to-load-array-to-the-text-field/187498/1 "2006-04-29T19:45:23Z")

</div>

Someth. do I wrong :rolleyes:  
I tested it simply with this code and the **textfield** aslo displays only the last index **c** even if the array has content **a,b,c** and trace() outputs **abc** 😕

```auto

var a:Array = new Array ();
var myArray:Array = new Array ("a", "b", "c");
for (i = 0; i < myArray.length; i++)
{
	a* = myArray*;
// output abc	
trace (a*);
// fill only c
	entries.text = a*
}

```

How can we fill it?
