Hi, I'm trying to position a movieclip in the same place as another one called "slot#", with the # being a number. There are several of these, e.g. slot1, slot2, slot3, etc.

My problem is that the code below is only to define a "slot#" that's in the root of the file. My "slot#" movie clips are based inside a movie clip called "navbar", so to get to the slot#, the definition is "_root.navbar.slot#".

What is the correct way to add the "_root.navbar." to the code below?

Thanks in advance.

Code:
item._x = eval ("slot" + currentslotnum)._x;
item._y = eval ("slot" + currentslotnum)._y;