# Duplicating MC

**URL:** <https://forum.kirupa.com/t/duplicating-mc/129662>\
**Category:** Uncategorized\
**Created:** [November 26, 2004, 3:31pm UTC](https://forum.kirupa.com/t/duplicating-mc/129662 "2004-11-26T15:31:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Contrera](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@Daniel\_Contrera](https://forum.kirupa.com/u/Daniel_Contrera)\
**Post date:** [November 26, 2004, 3:31pm UTC](https://forum.kirupa.com/t/duplicating-mc/129662/1 "2004-11-26T15:31:29Z")

</div>

Hi, does somebody knows how to assign a set of loadVars object properties to a movie clip when it´s beign duplicated.  
This is my code:

```auto
 
c = new LoadVars();
c.sendAndLoad("http://192.168.1.9/gmba/dbPassReturn.php",c,"POST");
c.onLoad = Create();
function Create(){
i=0; 
while (i<=10) {
	 duplicateMovieClip (ref, "data"+i, i);
	 setProperty ("data"+i, _y, ref._y*i);
	 box=["data"+i];
	 name=["caption"+i];
	 [box].info.text = _root.c.[name]; //How to assign the changing value to a changing mc?, There´s something with the syntaxis.
	 i++; 
}
}
 

```

Thnaks!
