Need help creating active blur class in as3

hi I came across this awsome class created by pixelfumes called an active blur class. they offer up the source files on there site. the class is written in as2; however, I am trying to convert it to as3 but I am having troubles doing so. can anyone help me.

here is a link to an example of what it is I want to acheive.

and here is a link to the source files