Alpha function runs while _y movement function happening

Basically I need to have the alpha function occur after the _y movement function. here is what I have so far:

this.onRelease = function(){
    mainButtonsReset();
    this.gotoAndStop (2);
    this.swapDepths(2);
    _global.portfolio_btn = 2;
    _root.content_mc._alpha = 0;
    _root.portfolio_btn.onEnterFrame = function() {
        if (_root.portfolio_btn._y>30) {
            _root.portfolio_btn._y -= 10;
        } 
        else {
            delete _root.portfolio_btn.onEnterFrame;
        }
    };
    _root.contact_btn.onEnterFrame = function() {
        if (_root.contact_btn._y<560) {
            _root.contact_btn._y += 10;
        } 
        else {
            delete _root.contact_btn.onEnterFrame;
        }
    };
    _root.content_mc.onEnterFrame = function() {
        if (_root.content_mc._alpha<100) {
            _root.content_mc._alpha += 10;
        } else {
            delete _root.content_mc.onEnterFrame;
        }
    };
}

Thanks.