That isn't AS 2.0, that's AS 1.0.

The equivalent AS 2.0 would look something like
Code:
this.onEnterFrame = function()
{
.... actions
}
This would go on a frame of your timeline, not on an instance of anything.

What are you actually trying to achieve here, though? - I can't quite work it out. You want something to move when the button is clicked?