How to make a snake game in flash with Actionscript 3

I’ve written a basic snake game to show you how this can be done in AS3. You can open up flex builder, paste the code in a new actionscript class and run it right away. (Get the class file here). You’ll probably notice that the game doesn’t check for collisions with the snake itself or [...]