# Easy solve AS2 question

**URL:** <https://forum.kirupa.com/t/easy-solve-as2-question/298537>\
**Category:** Uncategorized\
**Created:** [October 20, 2009, 6:55pm UTC](https://forum.kirupa.com/t/easy-solve-as2-question/298537 "2009-10-20T18:55:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gemgem](https://avatars.discourse-cdn.com/v4/letter/g/90ced4/32.png) [@gemgem](https://forum.kirupa.com/u/gemgem)\
**Post date:** [October 20, 2009, 6:55pm UTC](https://forum.kirupa.com/t/easy-solve-as2-question/298537/1 "2009-10-20T18:55:19Z")

</div>

hello,

i am using AS2. i wanted to tragger 2 things by clicking one button.  
1)the movie clip(R1) play its 2nd frame  
2)play the 2nd frame on the main stage(parent/root)

here i tried:

stop();  
R1.onRelease = function() {  
gotoAndPlay(2);  
\_root.gotoAndPlay(2);  
};

but it only do the first command.  
what should i do??
