There is a short tutorial and sources for this kind of games, in the flashkit games board, made by Frag, but I don't remember the url...