Hi,
Is it possible to change the size of a moveClip on the stage by pixels instead of scaling it with scaleX and scaleY? In other words I would like to be able to in crease or decrease the width and height of a movieClip using pixels.
Can someone be so kind and explain me how to do this?
[AS]// let say I have this moveClip on the stage,
//how would you change
// its width and height using pixels
myBtn.addEventListener(MouseEvent.CLICK, resizeMe,false,0,true);
function resizeMe(event:MouseEvent):void{
// amount doesn’t matter
//myMc.scaleX = 1;
//myMc.scaleY = 1;
}[/AS]
Thanks a lot!
Learnign a lot in this forum