# Displaying Array Values in a dynamic textfield!

**URL:** https://forum.kirupa.com/t/displaying-array-values-in-a-dynamic-textfield/257624
**Category:** flash
**Created:** [April 15, 2008, 6:53pm UTC](https://forum.kirupa.com/t/displaying-array-values-in-a-dynamic-textfield/257624 "2008-04-15T18:53:21Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![11119](https://avatars.discourse-cdn.com/v4/letter/1/6bbea6/32.png) [@11119](https://forum.kirupa.com/u/11119)
#### Post date: [April 15, 2008, 6:53pm UTC](https://forum.kirupa.com/t/displaying-array-values-in-a-dynamic-textfield/257624/1 "2008-04-15T18:53:21Z")

</div>

This sounds so simple, but its to save me doing things like this:

```auto

var Lol:Array = new Array();
Lol["Rofl"] = 0;

_root.Lol_Rofl = Lol["Rofl"];

```

Just to get the array value to display in a dynamic textfield, is there any other more efficient way so that I do not need to declare a seperate variable with the value of the array data to get it to display?
