What path should for variables when the .swf will be loaded into another movieclip?

Basically exactly what the title says. In a .swf, I create movie clip objects in a for loop like so:

  
_root.createEmptyMovieClip("box"+i,i); 
var newMC = eval("box"+i); 


I know, _root is bad because now when I have a movieclip in another file that loads this .swf, it doesn’t draw the objects (I use newMC to draw the objects dynamically). I’m assuming this is because I’ve created the movieclip in _root, and it’s trying to display within a movieclip, thus the info is inaccessible?

But how should I create the empty movie clip? I tried _level0 and that didn’t work either.

lol, I didn’t know I could just type “createEmptyMovieClip()” without a prefix. That fixed it.

Can anyone point me in the right direction with regards to reading about when to use _root., _level0., etc?