Mask and jpg

Hi all!

I have a swf called portfolio that loads dynamicly some jpg into a textfield like this:


this.myTextField.htmlText = "<img align='left' valign='top' src='" + image_str + "' width='76' height='76' hspace='0' vspace='0'/>";

It work’s great. Now, i try to use that swf into another flash document like this:


test_mc.createEmptyMovieClip("portfolio_mc", test_mc.getNextHighestDepth());
test_mc.portfolio_mc.loadMovie("portfolio.swf");

test_mc is a empty movie clip that is already placed (directly on the stage) under a mask (a layer containing a shape with the Mask property on) . Everything work’s fine if i removed the mask BUT with the mask the jpg are not displayed at all. To be clear (sorry for my poor english), portfolio swf is composed from many elements and ONLY the jpeg is not displayed.

Any idea why?

thanks! Vincent