# An easy question for you!

**URL:** <https://forum.kirupa.com/t/an-easy-question-for-you/17183>\
**Category:** Uncategorized\
**Created:** [April 2, 2003, 9:13am UTC](https://forum.kirupa.com/t/an-easy-question-for-you/17183 "2003-04-02T09:13:35Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulks\_is](https://avatars.discourse-cdn.com/v4/letter/p/6bbea6/32.png) [@paulks\_is](https://forum.kirupa.com/u/paulks_is)\
**Post date:** [April 2, 2003, 9:13am UTC](https://forum.kirupa.com/t/an-easy-question-for-you/17183/1 "2003-04-02T09:13:35Z")

</div>

Im trying to figure out how to change a frame when you click on a button, but when you release, it goes back to the original page. I am sure this is fairly simple, but i can’t get it going!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 2, 2003, 9:16am UTC](https://forum.kirupa.com/t/an-easy-question-for-you/17183/2 "2003-04-02T09:16:37Z")

</div>

I think you can do something like this:[AS]on (press){  
gotoAndStop(3);  
}  
on (release){  
gotoAndStop(2);  
}[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 2, 2003, 9:31am UTC](https://forum.kirupa.com/t/an-easy-question-for-you/17183/3 "2003-04-02T09:31:53Z")

</div>

k - ill give that a try, thanks  
🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 2, 2003, 9:35am UTC](https://forum.kirupa.com/t/an-easy-question-for-you/17183/4 "2003-04-02T09:35:03Z")

</div>

i’ve tried that, but it goes to that frame and then stays there - how would i get it to return to the original screen

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 2, 2003, 11:21am UTC](https://forum.kirupa.com/t/an-easy-question-for-you/17183/5 "2003-04-02T11:21:12Z")

</div>

your ‘button’ is probably not present in the first frame you wish to go, which means once the on(press) is activated, the function on(release) will no longer be activated…

There might be another way to do it with a HitTest…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 3, 2003, 7:21am UTC](https://forum.kirupa.com/t/an-easy-question-for-you/17183/6 "2003-04-03T07:21:06Z")

</div>

… ?

what is the effect you want to accomplish ??  
sounds to me like you want an animated button …

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [April 3, 2003, 8:34am UTC](https://forum.kirupa.com/t/an-easy-question-for-you/17183/7 "2003-04-03T08:34:58Z")

</div>

i did wonder about animated buttons  
Not too sure if thats what i need or not - i’ve sacked the whole idea off any way and am doind a different style!!!  
I’d be grateful of ideas though!
