I have a loop that attaches an item from the libary
for(x=0;x<myLv.n;x++) {
new_mc = _root.priceList.attachMovie("price_slot", "mc_"+x, x);
}
I then want to refer to each of the movieclips path with something like this:
_root.priceList.["mc_"+x].listContainer.attachMovie
What is the correct syntax for what I am trying to write. I know the code works because if I write
_root.priceList.mc_1.listContainer.attachMovie
It does what I want. Any help much appreciated, thank you.