Move then move!

hi

ive got this,

onClipEvent (load) {
this._x = 160;
}
onClipEvent (enterFrame) {
this._x += 5;

}

good huh!!
now i need my mc to stop then rotate a little then move down then go:pirate3: ha
(all on one frame)!
do i need to use a function, i think i do!
I’m not looking for a complete answer ,but if someone could point me in the right direction.
i have 'the definitive guide-colin moock) if theres a chapter there?
mmmmm

please help
many thanks in advance