Introduction to Flash and Actionscript
S3 - Tweens using Codes
Add dots to your maze and delete them as the pacman reaches them.
Change the alpha value of the dots to 0 to make them disappear
Add the 4 ghosts to a center
box in your maze and have them escape and move (using code) one at a