Help needed with setMask+MC container (picture via XML)

hi,

i want to put an mask animation on my MC container, and play this animation just when the picture is loaded.


if (_this._parent.conteneurFolio.xmlPict._width) {
                delete this.onEnterFrame;
                _this._parent.conteneurFolio.xmlPict.attachMovie("blocksMask", "blocksMask2", 455);
                _this._parent.conteneurFolio.xmlPict.setMask(xmlPictMsk);
                _this._parent.conteneurFolio.preloader_mc.tween(["_alpha"], [0], .4, "easeOutExpo");
                alpha(_this._parent.conteneurFolio.xmlPict, 100, 0.05);
                _this._parent.conteneurFolio.xmlPictMsk.gotoAndPlay("go");
                trace("chargement ok");

this is a part of the preload AS code.
when the pict is loaded (if (_this._parent.conteneurFolio.xmlPict._width)) i want to apply the mask.
unfortunately, it doesn’t work…

idea ?