Slide

Hello how can I make my button symbol “slide” upwards?
I have tryied

on(rollOver) {
    gotoAndPlay(2);
}

where frame 2 is the animation and it still did not work.