# Duplicate + targeting?

**URL:** https://forum.kirupa.com/t/duplicate-targeting/170807
**Category:** Uncategorized
**Created:** [November 29, 2005, 5:46pm UTC](https://forum.kirupa.com/t/duplicate-targeting/170807 "2005-11-29T17:46:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![blaatorx](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@blaatorx](https://forum.kirupa.com/u/blaatorx)
#### Post date: [November 29, 2005, 5:46pm UTC](https://forum.kirupa.com/t/duplicate-targeting/170807/1 "2005-11-29T17:46:44Z")

</div>

Peepz,

i have this script to duplicate:

```auto

//root timeline actions
for (i=0;i<count;i++) {
  duplicateMovieClip ("ball","ball"+i,i);
  ["ball"+i]._width = 300

```

when i trie to target to: [“ball+i”].\_width i get undefined but i can trace it with trace([“ball”+i]). then it works!

i want to target to one of the duplicated balls outside the for loop and outside the movieclip how can i do that?

something like: this.\_parent.mcMenu[“ball+i”].\_width ??
