Masking an image loader

Hey guys, I’m coming from AS3 and I’m trying to mask a SWF file that’s being imported in but it’s doing something pretty funky. The SWF file is coming in fine, but when I’m masking it, it shows the shape I’m masking with, but it’s also masking because nothing is going beyond its’ edges.

Any ideas?


var mask_mc:Shape = new Shape();;, 0, 400, 300);;


var imageRequest:URLRequest = new URLRequest("motion01.swf");
var imageLoader:Loader = new Loader();
var maskedImageLoader:MovieClip = new MovieClip();
mask_mc.mask = maskedImageLoader;
imageLoader.x = 177;
imageLoader.y = 0;