# Nice Rollover with no excess onEnterFrames

**URL:** <https://forum.kirupa.com/t/nice-rollover-with-no-excess-onenterframes/197659>\
**Category:** open source\
**Created:** [August 18, 2006, 1:35am UTC](https://forum.kirupa.com/t/nice-rollover-with-no-excess-onenterframes/197659 "2006-08-18T01:35:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [August 18, 2006, 1:35am UTC](https://forum.kirupa.com/t/nice-rollover-with-no-excess-onenterframes/197659/1 "2006-08-18T01:35:55Z")

</div>

heres a rollover technique that tweens in and out smoothly, say if it gets 5 frames into the tween in, and then u roll out well it play backwards straight away. oh and theres no constantly running onENterframes wasting CPU…

not new but kinda handy i think

EDIT: God how do i re-attach this thing??!?!?!?!
