Move a object up and down

Hello, i’m learning flash(actionscript 3). But doesn’t knows how to move a object up and down(infinite loop).
I doesn’t want to instant change the position, only to up a few Y pixels from actual position, and down again.