# Enter frame, if, for

**URL:** <https://forum.kirupa.com/t/enter-frame-if-for/320904>\
**Category:** flash\
**Created:** [April 5, 2011, 11:31am UTC](https://forum.kirupa.com/t/enter-frame-if-for/320904 "2011-04-05T11:31:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chilldog](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@chilldog](https://forum.kirupa.com/u/chilldog)\
**Post date:** [April 5, 2011, 11:31am UTC](https://forum.kirupa.com/t/enter-frame-if-for/320904/1 "2011-04-05T11:31:38Z")

</div>

Maybe this will help those who don’t understand what happens in an enter frame event when an if statement occurs, then a for loop occurs…:poisoneye:

There’s a bug, though…Can’t figure out how to get the for loop code to highlight when it’s running (if only for a split second).

Thanks,  
Ben
