Rotation Questions

I want to have a ship sway left and right as its coming down the screen, (its an arcade shooter type game), heres the sprite.. How can I make it sway left and right but not go up and down? as well as change the animpos to the position required?
Second question, with a resolution of 480 x 480, how can I have the ship rotate around the edges of the screen? After the ship comes in and is on screen fully, I want it to rotate around the screen.
(There are 2 different enemy types, I'll use RGB to change color). the first type sways left and right while the second type rotates
Second question, with a resolution of 480 x 480, how can I have the ship rotate around the edges of the screen? After the ship comes in and is on screen fully, I want it to rotate around the screen.
(There are 2 different enemy types, I'll use RGB to change color). the first type sways left and right while the second type rotates