# On rollover and enterframe at same time

**URL:** https://forum.kirupa.com/t/on-rollover-and-enterframe-at-same-time/12315
**Category:** Uncategorized
**Created:** [January 29, 2003, 5:01pm UTC](https://forum.kirupa.com/t/on-rollover-and-enterframe-at-same-time/12315 "2003-01-29T17:01:07Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mediashock](https://avatars.discourse-cdn.com/v4/letter/m/58f4c7/32.png) [@Mediashock](https://forum.kirupa.com/u/Mediashock)
#### Post date: [January 29, 2003, 5:01pm UTC](https://forum.kirupa.com/t/on-rollover-and-enterframe-at-same-time/12315/1 "2003-01-29T17:01:07Z")

</div>

i didnt script for a while and I forgot the actionscript to add to a button so it repeats whatever it has to do on enterframe.

SO i dont have to make another mc where it loops the action…

I know ther is a easy way of doing it with functions but i forgot…

anyone?

---

<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: [January 29, 2003, 5:50pm UTC](https://forum.kirupa.com/t/on-rollover-and-enterframe-at-same-time/12315/2 "2003-01-29T17:50:35Z")

</div>

what?

enterframe is for clips only, not buttons!  
could you explain what you want to happen?

---

<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: [January 29, 2003, 6:05pm UTC](https://forum.kirupa.com/t/on-rollover-and-enterframe-at-same-time/12315/3 "2003-01-29T18:05:45Z")

</div>

eyezberg,  
…  
you can apply a function to a button that when the mouse is over the button it will do the function on enterFrame

I did it before… i forgot how…

its basicaly like doing an enterframe on abutton…

I got a 3d object and 360 view… and i got two arrows… left/right…

these are button… when u go over the left i want it to play the mc substracting from the current frame. same for the other…
