# onEnterframe with button

**URL:** <https://forum.kirupa.com/t/onenterframe-with-button/283737>\
**Category:** flash\
**Created:** [March 10, 2009, 3:55pm UTC](https://forum.kirupa.com/t/onenterframe-with-button/283737 "2009-03-10T15:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alber\_Kidd](https://avatars.discourse-cdn.com/v4/letter/a/e47c2d/32.png) [@Alber\_Kidd](https://forum.kirupa.com/u/Alber_Kidd)\
**Post date:** [March 10, 2009, 3:55pm UTC](https://forum.kirupa.com/t/onenterframe-with-button/283737/1 "2009-03-10T15:55:51Z")

</div>

Hi,

I want to simulate the onEnterframe with a rollover. So that when the mouse is over the button the loop plays. Any idea how I can do this??

Thanks,

AK
