# Load movie and array questions

**URL:** <https://forum.kirupa.com/t/load-movie-and-array-questions/212525>\
**Category:** flash\
**Created:** [January 11, 2007, 7:44pm UTC](https://forum.kirupa.com/t/load-movie-and-array-questions/212525 "2007-01-11T19:44:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![koolkrasher](https://avatars.discourse-cdn.com/v4/letter/k/c6cbf5/32.png) [@koolkrasher](https://forum.kirupa.com/u/koolkrasher)\
**Post date:** [January 11, 2007, 7:44pm UTC](https://forum.kirupa.com/t/load-movie-and-array-questions/212525/1 "2007-01-11T19:44:59Z")

</div>

hello folks. My first question is regarding a problem i am having. I have a movie clip on my stage with an invisible button inside of it on layer 1. on run time i tell the mc to load a jpg and it does just fine but it overlaps the invisible button. is thee any way around this?

second question. i have an array hat stores some names nothing special. and i want to randomly pop a name out of the array and place it into a new array.

i tried  
myArray.pop(Math.floor(Math.random()\*myArray.length));

when i ut that on a button it pops out the last item in the array
