# attachMovie of dynamic created items in MX

**URL:** <https://forum.kirupa.com/t/attachmovie-of-dynamic-created-items-in-mx/43517>\
**Category:** flash\
**Created:** [February 23, 2004, 4:40pm UTC](https://forum.kirupa.com/t/attachmovie-of-dynamic-created-items-in-mx/43517 "2004-02-23T16:40:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roelg](https://avatars.discourse-cdn.com/v4/letter/r/9e8a1a/32.png) [@roelg](https://forum.kirupa.com/u/roelg)\
**Post date:** [February 23, 2004, 4:40pm UTC](https://forum.kirupa.com/t/attachmovie-of-dynamic-created-items-in-mx/43517/1 "2004-02-23T16:40:44Z")

</div>

Hi everybody,

I have got a problem to which I cannot find the answer. If anybody could help me out, or point me in the right direction, that would be great.

What I want is the following. Based on an XML file and one empty movie clip, I create about 80 different items (menu items). By drag and dropping these menu items you can create a scene with objects.

These objects are copies of the menu items. But I want to use the attachMovie command to have control over the path of the objects. But by creating the menu items dynamically, I cannot say in the library, export for actionscript.

So my question is, how can I use the attachMovie command on items that are dynamically created.

Please help me out!

RoGe
