# Problem with some dynamic generated movieclips

**URL:** <https://forum.kirupa.com/t/problem-with-some-dynamic-generated-movieclips/168910>\
**Category:** flash\
**Created:** [November 11, 2005, 3:42am UTC](https://forum.kirupa.com/t/problem-with-some-dynamic-generated-movieclips/168910 "2005-11-11T03:42:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Floppy](https://avatars.discourse-cdn.com/v4/letter/f/a587f6/32.png) [@Floppy](https://forum.kirupa.com/u/Floppy)\
**Post date:** [November 11, 2005, 3:42am UTC](https://forum.kirupa.com/t/problem-with-some-dynamic-generated-movieclips/168910/1 "2005-11-11T03:42:28Z")

</div>

basically i have to generate some movieclips dynamically and then eidt their content…

```auto
for(j=4;j>=0; j--){
var mc = _root.bottom.panel.duplicateMovieClip("copy"+j, j);
if (j===(4)) {posit=50;
	mc._x=50}
	else {
	posit+=250;
	mc._x=posit;} }

```

this is what i use to generate them… it works, no problem

now… inside the panel movieclip that i duplicate there is another movieclip, named company that i want to animate etc…

so, if i try to make the clip become invisible in the generated clips, i used thsi script

```auto
for(j=4;j>=0; j--){
	nume="copy"+j;
_root.bottom.nume.company._visible=false; }

```

which obviously didn not work, because instead of trying to make \_root.bottom.copy1.company invisible, it looks for the “nume” clip in the bottom movieclip…

what can i do to solve this problem? i have no idea of how i can acces the generated clips… i tried \_root.bottom.(“copy”+j).company.\_visible=false; and does not work…
