Hi all,
I have the following code…
findDirectorNode = function(directorID):MovieClip
{
for (i=0; i< _root.numMaleDirectorNodes; i++)
{
if (i==0) dName = “directorNodeMale”;
else dName = “directorNodeMale” + i;
if (this[dName].directorID == directorID)
{
return this[dName];
}
}
}
The point of this code is to be able to search through previously duplicated movie clips to find the one that I am trying to access… it doesn’t seem to be working even though I have a similar routine that does seem to work.
Anyone know of a better way to access/traverse the available movie clips to find the one I want?
Thanks