directional moving according to animation

OK, I am making an asteroid type game where up and down change the animation and space moves the ship in the direction the ship is facing. the only problem is that i don't know how to make the ship move in the direction the ship is facing, but i know its possible so if anyone can do that if u can give me the codes that would be great.
P.S: please don't post a demo unless u have GE 1.3.8 because I wouldn't be able to open anything else. Thanks

P.S: please don't post a demo unless u have GE 1.3.8 because I wouldn't be able to open anything else. Thanks
