I'm loading an external swf into a Panel, then scaling the swf to enlarge it. I'm having difficulty getting the mask and the swf to align.
The swf is scaled using:
var myScale:Number = 1.50;
swfLoader.scaleX = myScale;
swfLoader.scaleY = myScale;
But when I apply the same scaling to the mask
gameMask.graphics.drawRect(swfLoader.x, swfLoader.y, swfLoader.width * myScale , swfLoader.height * myScaleY);
The mask is off to the left and smaller than the swf.
How do I get the mask to match the swf no matter what the scaling?
Retrieving data ...