Hi there,

I need to apply a rectangular mask to a swf created in Flash CS3 in 
order to remove some edge artifact.

Problem is when I do this, I can no longer interact with the SWF that 
is loaded via a custom SWFLoader e.g. drag and drop with the SWF 
UIMovieClips.

var s : Shape = new Shape();
s.graphics.beginFill(0xFFFFFF);
s.graphics.drawRect(0, 0,  100, 100);
s.graphics.endFill();
mySWFloader.addChild(s);
s.visible = false;
mySWFloader.mask = s;
mySWFloader.setChildIndex(s,0);

I've tried resetting the z-index to 0 but no luck.

Any ideas on how to apply a mask to a SWFLoader without disabling 
functionality?

Cheers, Rich

PS In an ideal world I'd like to keep the mask as a child of the 
SWFLoader so that it automatically resizes and drags when the SWF is 
resized and dragged around.

Reply via email to