One of my first attempts at AS3, so keep that in mind…
This game was originally developed in AS2. I converted it to AS3 in Flash CS4.
Conversion details:
- Changed to MovieClip class from Action
- Used an Array for the snake body instead of eval
- Added KeyboardEvents and stored the current key state in an Array
- As frame is processed (in Event.ENTER_FRAME) look up current key state to find direction
- Use hitTestObject() to determine if snake's head is touching mouse

By John Dorsey IT Brigade Inc.

Flash
Adobe, Animation, as3, Flash CS4, Movieclip