Centering masked content on resize

Hello,

I’m loading an external SWF into a movieclip, and centering it, on screen resize, basically with this formula:

holder_mc._y = (Stage.height - holder_mc._height)/2;

BUT… the SWF I load has a masked text, and when the text is big, even if it’s hidden by the mask, the resizing uses the total size, including the masked text, so it doesn’t center the movieclip properly, how can I do it?

Thanks in advance