David Danielsson sent in a tutorial. It’s so you can make something shoot left and right, like in a sidescrolling shooter. You can add a bit of code to it to make it shoot in 4 directions easily though. Here it is:

(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)