# gotoAndPlay(...) Action

**URL:** <https://forum.kirupa.com/t/gotoandplay-action/201506>\
**Category:** flash\
**Created:** [September 21, 2006, 10:10pm UTC](https://forum.kirupa.com/t/gotoandplay-action/201506 "2006-09-21T22:10:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xHolyManx](https://avatars.discourse-cdn.com/v4/letter/x/f4b2a3/32.png) [@xHolyManx](https://forum.kirupa.com/u/xHolyManx)\
**Post date:** [September 21, 2006, 10:10pm UTC](https://forum.kirupa.com/t/gotoandplay-action/201506/1 "2006-09-21T22:10:54Z")

</div>

Hey, I’m new to flash, my question is:  
If I got 2 tags, for this sample, they’ll be “\_over” and “\_out” which are used for a button that has a motion of color tint.  
Now, lets say I start with gotoAndPlay("\_over"), then the button turns from one color to another, then I trigger the gotoAndPlay("\_out") and the button changes back to it’s original color.  
My problem is when I trigger the gotoAndPlay("\_out") while gotoAndPlay("\_over") was playing, so I was wondering if you can somehow get the frame being played by the “\_over” tagged frame and relate it to the gotoAndPlay(…) function.
