# Arrays

**URL:** <https://forum.kirupa.com/t/arrays/167751>\
**Category:** Uncategorized\
**Created:** [October 31, 2005, 5:26pm UTC](https://forum.kirupa.com/t/arrays/167751 "2005-10-31T17:26:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Terry\_elekes](https://avatars.discourse-cdn.com/v4/letter/t/8baadc/32.png) [@Terry\_elekes](https://forum.kirupa.com/u/Terry_elekes)\
**Post date:** [October 31, 2005, 5:26pm UTC](https://forum.kirupa.com/t/arrays/167751/1 "2005-10-31T17:26:17Z")

</div>

I am trying to learn flash and was playing with arrays to see how they work.  
I understand pretty much but my question is this. If I have a array linked to a  
dynamic text box and I give the text box a instance how do I get the or can I  
get the text box to move around the stage.  
numbers = [1, 2, 3];  
trace(numbers);  
newnum =(numbers[2]);  
trace(newnum);  
displayText = “newnum”;  
box.\_x += 5;

this is the code I was trying to use. I also attached the file. Thanks
