# Where action fits into button that has already some action?

**URL:** https://forum.kirupa.com/t/where-action-fits-into-button-that-has-already-some-action/14686
**Category:** Uncategorized
**Created:** [March 1, 2003, 10:51am UTC](https://forum.kirupa.com/t/where-action-fits-into-button-that-has-already-some-action/14686 "2003-03-01T10:51:57Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![aerohaith](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@aerohaith](https://forum.kirupa.com/u/aerohaith)
#### Post date: [March 1, 2003, 10:51am UTC](https://forum.kirupa.com/t/where-action-fits-into-button-that-has-already-some-action/14686/1 "2003-03-01T10:51:57Z")

</div>

i’ve got this code in one of the buttons, but i want the button to be link to the 2nd frame or scene, but do’t know where should fit that peiece of code

onClipEvent (enterFrame) // this action already is in main timelin  
{  
\_y = \_root.menu4.\_y  
}

something like go(release… should it be after, b4 or within the brackets?

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: [March 1, 2003, 12:28pm UTC](https://forum.kirupa.com/t/where-action-fits-into-button-that-has-already-some-action/14686/2 "2003-03-01T12:28:24Z")

</div>

I dont get it, u have to be more specific… or attach the fla.

---

<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: [March 1, 2003, 1:21pm UTC](https://forum.kirupa.com/t/where-action-fits-into-button-that-has-already-some-action/14686/3 "2003-03-01T13:21:08Z")

</div>

besides you do need to be more specific … 🙂

```auto
onClipEvent (enterFrame) {
_y = _root.menu4._y
}

```

how’s that ? :-  
you can’t have clip events in the timeline …
