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.