Change AS3 class code into "normal" code

Here is code for drag.
i want to change as3 class to normal code as3
plz help me