what is the right way to use the scaleX and scaleY properties? I don't quite understand how to use them...

right now, I'm using this, but I think scaleX and scaleY would be a better idea:

Code:
if(condition){
some_mc.width++;
some_mc.height++;
}
else{
some_mc.width--;
some_mc.height--;
}