# attachMovieClip in a ScrollPanel?

**URL:** <https://forum.kirupa.com/t/attachmovieclip-in-a-scrollpanel/122492>\
**Category:** Uncategorized\
**Created:** [September 14, 2004, 8:33am UTC](https://forum.kirupa.com/t/attachmovieclip-in-a-scrollpanel/122492 "2004-09-14T08:33:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phudy](https://avatars.discourse-cdn.com/v4/letter/p/ea666f/32.png) [@phudy](https://forum.kirupa.com/u/phudy)\
**Post date:** [September 14, 2004, 8:33am UTC](https://forum.kirupa.com/t/attachmovieclip-in-a-scrollpanel/122492/1 "2004-09-14T08:33:24Z")

</div>

hi there!

first of all, i’m sorry of my bad english - i’m not a native speaker.

this is my used code:  
[COLOR=Blue]  
on (release) {  
mc\_scroll.attachMovie(“mc\_user”,“mc\_user0”,0);  
for (i=1;i\<14;i++) {  
mc\_scroll.mc\_user0.duplicateMovieClip(“mc\_user”+i,i);  
mc\_scroll[“mc\_user”+i].\_y = (50\*i);  
}  
}  
[/COLOR]

mc\_scroll … instance name of the scroll panel component  
mc\_user … the mc that contains the image  
mc\_userlist … the content i’ve choosen for the scroll panel

i want to copy the image (mc\_user) into the scroll panel. now my mistake is -i think- that i want to attach the image directly into the scroll panel, and not in its content.  
so, my question:

[COLOR=Red]how do i attach an movie to an “actionscript exported” movieclip, which is not placed on the stage?[/COLOR]

or do you have an other solution?

yours faithfully

phudy :hair:
