Tutorial for scaling w/actionscript

Could someone help me to point to a tutorial? I’d like to have 2 mc’s that scale up or down depending on which one the pointer is over. When th epointer is over mc1 it increases and the mc2 decreases equally. I have tried searching "scaling with actionscript but I don’t find anything remotely close, at least not on the first 140 topics found (or so).
Would be grateful for help:p:

here’s a little rough code:

onClipEvent (enterFrame) {
percent = this.getBytesLoaded()/this.getBytesTotal()*100;
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_yscale = percent;
} else {
_yscale = 100-percent;
}
}

stick this code on both MCs and it should follow your effect.

I did a very quick try and I’d have to work with it a bit to make it work but what I am really after and that I am very bad at figuring out myself is that the mc’s actually GRADUALLY get larger and smaller as you move between them. I have tried to work out a calculation for scaling before but it doesn’t work very well.