# Flash Looping

**URL:** <https://forum.kirupa.com/t/flash-looping/209812>\
**Category:** flash\
**Created:** [December 12, 2006, 4:57pm UTC](https://forum.kirupa.com/t/flash-looping/209812 "2006-12-12T16:57:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iloveny](https://avatars.discourse-cdn.com/v4/letter/i/51bf81/32.png) [@iloveny](https://forum.kirupa.com/u/iloveny)\
**Post date:** [December 12, 2006, 4:57pm UTC](https://forum.kirupa.com/t/flash-looping/209812/1 "2006-12-12T16:57:08Z")

</div>

I have seen many code using onEnterFrame eve[FONT=Verdana]nt handler becaus[/FONT][FONT=Verdana][SIZE=2]e it continuously looping the contained section of code automatically without requiring any user input.

I just wonder why onEnterFrame is continuosly looping and what is the purpose of that?

Even though I have put stop(); function on the same frame, the event handler onEnterFrame is always looping.

Many many thanks in advanced!!!  
[/SIZE][/FONT]
