# Loop vs long version

**URL:** <https://forum.kirupa.com/t/loop-vs-long-version/315095>\
**Category:** Uncategorized\
**Created:** [October 17, 2010, 7:39pm UTC](https://forum.kirupa.com/t/loop-vs-long-version/315095 "2010-10-17T19:39:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ggalan](https://avatars.discourse-cdn.com/v4/letter/g/8c91f0/32.png) [@ggalan](https://forum.kirupa.com/u/ggalan)\
**Post date:** [October 17, 2010, 7:39pm UTC](https://forum.kirupa.com/t/loop-vs-long-version/315095/1 "2010-10-17T19:39:37Z")

</div>

im having a strange problem, i have a Main class and a other class called Calc  
everything seems to works when its written fully written but when i condense it into a loop, behavior becomes different and broken

posted the FLA and Class

heres the working version  
[http://www.2020proj.com/media/code/calc\_long\_working.zip](http://www.2020proj.com/media/code/calc_long_working.zip)

and the loop  
[http://www.2020proj.com/media/code/calc\_loop\_error.zip](http://www.2020proj.com/media/code/calc_loop_error.zip)

im trying to get the loop version to behave just like the written out version, if anyone has a chance to look at it, greatly appreciate the time
