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

**URL:** <https://forum.kirupa.com/t/this-script-is-working-in-actionscrip2-0-but-this-is-not-wroking-in-as3/245071>\
**Category:** Uncategorized\
**Created:** [November 26, 2007, 4:56am UTC](https://forum.kirupa.com/t/this-script-is-working-in-actionscrip2-0-but-this-is-not-wroking-in-as3/245071 "2007-11-26T04:56:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![srsh\_sundaram](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@srsh\_sundaram](https://forum.kirupa.com/u/srsh_sundaram)\
**Post date:** [November 26, 2007, 4:56am UTC](https://forum.kirupa.com/t/this-script-is-working-in-actionscrip2-0-but-this-is-not-wroking-in-as3/245071/1 "2007-11-26T04:56:43Z")

</div>

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
