Instance vs linkage

peepz,
i have a script that works with a linkage name, but not with an instance name.
now i want it to work with an instance name like this:


addPage("start");
for(var i = 1; i<(ap.length+1); i++)
{
 addPage(page+i)
 trace("page"+i)
}
addPage("end");

the movieclips are generated using this script:


function showArray()
{
 for (var z = 1; z<(ap.length+1); z++) 
 {        
  mcPage.duplicateMovieClip("page"+z, z);
  
  this["page"+z]._y = 95
  
  if(z >= ap.length-1)
  {
   trace("yes")
   play();
  }
  trace(ap[z].image)   
 }
}

what can be the problem with the difference between instance names and linkage names?
thnx already!