Simple scaling problem

I have a mc within a mc, on this inner mc I have the following code, I know it works as when I use the trace command I get an output, but when I replace trace with a function, nothing happens, anyone able to help?

onClipEvent(load) {
        this._rotation += 20;
        origWidth = _root.myRotation._width;
        origHeight = _root.myRotation._height;
}
}onClipEvent(enterFrame) {
        if(Key.getCode() == Key.UP) {
                _root.myRotation._xscale += 5;
                _root.myRotation._yscale += 5;
        }else if(Key.getCode() == Key.DOWN) {
                _root.myRotation._xscale -= 5;
                _root.myRotation._yscale -= 5;
        }
}

Regards,