I have no idea what you are trying to achieve.
What I understood is you are trying to increasing the stroke size by scaling the container.
Actionscript Code:
var mc:MovieClip=new MovieClip();
with(mc){
graphics.beginFill(0x999999,1);
graphics.lineStyle(10,0x333333,1,true,"normal");
graphics.drawRect(0,0,200,100);
}
addChild(mc);
mc.addEventListener(MouseEvent.CLICK,mcClicked);
function mcClicked (evt:MouseEvent):void {
evt.target.scaleX+=0.5;
evt.target.scaleY+=0.5;
}
mc.x=10;
mc.y=10;
A Sprite Version in my preference.
Actionscript Code:
var sp:Sprite=new Sprite();
with(sp){
graphics.beginFill(0x999999,1);
graphics.lineStyle(10,0x333333,1,true,"normal");
graphics.drawRect(0,0,200,100);
}
addChild(sp);
sp.addEventListener(MouseEvent.CLICK,spClicked);
function spClicked (evt:MouseEvent):void {
evt.target.scaleX+=0.5;
evt.target.scaleY+=0.5;
}
sp.x=10;
sp.y=10;
arkitx