Mask a dynamically loaded image?

I’m back and having trouble masking a dynamically loaded image. For some reason I see both the mask and the image… Any ideas are greatly appreciated, as I have to finish this project real soon…

Here’s my code:

_root.createEmptyMovieClip("container", _root.getNextHighestDepth());
container.loadMovie("myImage.jpg");

_root.createEmptyMovieClip("square_mc", _root.getNextHighestDepth());
square_mc.beginFill(0xFF0000);
square_mc.moveTo(10, 7);
square_mc.lineTo(100, 7);
square_mc.lineTo(100, 100);
square_mc.lineTo(10, 100);
square_mc.lineTo(10, 7);
square_mc.endFill();

container.setMask(square);

I’m at a loss here…