Actionscript Example

I would like to now what was done to make that games as in actionscripting.
Like how he had objects and it would stop u until you destroyed it.
Go there and play the game to see what I mean.
http://newgrounds.com/portal/view/63747