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:
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!