New to AS, why doesnt it work?

Why does this not work? Hmm, i’m quite new to AS, but i can’t see the mistake?


if (_root.logo_mc._currentframe < 2;) {
    _root.omkring_btn.onRelease = function() {
    _root.logo_mc. gotoAndPlay(2);
    }
    }else if (_root.logo_mc._currentframe > 2 ) {
        _root.omkring_btn.onRelease = function() {
        _root.logo_mc. gotoAndStop(15);
    }
}

-JPAG