i’ve been searching everywhere for this but couldn’t find any help. Someone PLEASE HELP ME!:hair:
for(var i=0; i<row; i++)
{
var u=i+1;
attachMovie("friend", "friendName" + u, this.getNextHighestDepth(), {_x:0, _y:ypos});
ypos = ypos + 19;
}
this code that i have creates this movie clip dynamically and the variable row gets its value from a php script. well inside this i have a text field, with instance name namefield, which i want to change. usually, we do this:
_root.friendName1.namefield.text = “BOB”;
_root.friendName2.namefield.text = “Steve”;
…
well, how do i do i as refer to dynamically created instance names?