This script is working in actionscrip2.0 but this is not wroking in as3

hi all,

I working long time in actionscript 2.0. just now i started working in action script 3.0. The script what i have pasted down is working in as2.

[COLOR=blue]stop();
click_btn.onPress = function() {
gotoAndPlay(1);
};[/COLOR]
[COLOR=#0000ff][/COLOR]
[COLOR=black]But the same script is not working in as3. [/COLOR]

I don’t know y.please tell me.

And also tell what is the differents between actionscript2.0 and actionscript3.0