import mx.effects.Resize;
public function resizePanel():void
{
var myResize:Resize = new Resize();
myResize.target = myPanel;
myResize.widthBy = 100;
myResize.heightBy = 100;
myResize.play();
}