Convert loader into MovieClip

It probably has a simple answer but i can’t figure it out, i’ve googled a ton.

var imageLoader:Loader = new Loader();
var image:URLRequest = new URLRequest((location.text()[+t]));
imageLoader.load(image);
addChild (imageLoader);

When i trace it it says “object loader” and i can’t manage depth with a loader object (i don’t think)

or am i going to have to use another movieclip to contain it

Throws an implicity coersion error if i try to use this code

setChildIndex(event.target,numChildren - 1);