# XML Drawn rectangles to movieclip array?

**URL:** <https://forum.kirupa.com/t/xml-drawn-rectangles-to-movieclip-array/247653>\
**Category:** flash\
**Created:** [December 27, 2007, 8:51pm UTC](https://forum.kirupa.com/t/xml-drawn-rectangles-to-movieclip-array/247653 "2007-12-27T20:51:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulcybulski](https://avatars.discourse-cdn.com/v4/letter/p/90db22/32.png) [@paulcybulski](https://forum.kirupa.com/u/paulcybulski)\
**Post date:** [December 27, 2007, 8:51pm UTC](https://forum.kirupa.com/t/xml-drawn-rectangles-to-movieclip-array/247653/1 "2007-12-27T20:51:23Z")

</div>

Hi,

I am using an external custom class to draw xml driven shapes in a movieclip. Please take a look at [www.expocadvr.com/temp/default.html](http://www.expocadvr.com/temp/default.html) for a better idea of what I am working on. I am looking to turn each shape (which would be a booth) into a button…so that I can click each booth and have some info come up about it. I am having a hard time calling the array from the main movie…can someone point me in the right direction where to look for help?
