Mask external swf with png!

Long time no see!

I’m trying to mask an external swf with
a png file. I searched and experimented,
but to no avail…

Found this code by claudio, but can’t get it to work,
it just won’t mask!:
[AS]function preload() {
var t = container.getBytesTotal(), l = container.getBytesLoaded();
if (t && l == t) {
clearInterval(myInterval);
container.setMask(maski);
}
}
container.loadMovie(“test.swf”);
myInterval = setInterval(preload, 50);[/AS]
hope someone can help…

thanks