This isn't meant for experts in flash, because its very simple. This is meant for people who are just beginning flash that want to create games.
It was originally meant for my friend, but I decided to make it for everyone. It is a little hard to understand once you get to walls, so any comments on how to fix it or questions you have would gladly be appreciated.
Thank you for viewing my tutorial, and enjoy.
P.S. Also, the preloader doesn't have the actual title of the game. That was done on purpose, or I would have changed it.
UPDATE: Code for boundaries fixed. You don't have to worry about it anymore.
Sorry about that!