# Getting lost with Array's and its functions :S

**URL:** <https://forum.kirupa.com/t/getting-lost-with-arrays-and-its-functions-s/179793>\
**Category:** flash\
**Created:** [February 23, 2006, 1:00am UTC](https://forum.kirupa.com/t/getting-lost-with-arrays-and-its-functions-s/179793 "2006-02-23T01:00:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tattered](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@Tattered](https://forum.kirupa.com/u/Tattered)\
**Post date:** [February 23, 2006, 1:00am UTC](https://forum.kirupa.com/t/getting-lost-with-arrays-and-its-functions-s/179793/1 "2006-02-23T01:00:12Z")

</div>

Ok I really screwed myself now. I have two Arrays, prevArray, and newArray. When I click a button I want newArray[0] to goto prevArray. I am really lost here on this. but let me see if I can do this right

newArray[“Scene1”, “Scene2”, “Scene3”]  
now when you click a button I want the last line in newArray to go away, and be placed in prevArray.  
so…  
newArray[“Scene1”]  
prevArray[“Scene3”, "Scene2]

There I think I explainded it right. LoL.  
please if someone can help me hahaha.
