# A bug or not?

**URL:** <https://forum.kirupa.com/t/a-bug-or-not/231625>\
**Category:** flash\
**Created:** [July 6, 2007, 8:21am UTC](https://forum.kirupa.com/t/a-bug-or-not/231625 "2007-07-06T08:21:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zhet](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zhet/32/3307_2.png) [@Zhet](https://forum.kirupa.com/u/Zhet)\
**Post date:** [July 6, 2007, 8:21am UTC](https://forum.kirupa.com/t/a-bug-or-not/231625/1 "2007-07-06T08:21:16Z")

</div>

A strange bug-like thing happens when I write:

```auto

onClipEvent (enterFrame) {
	for (i=0; i<25; i++)
	{this._x = i;
		}
}

```

I expect i to grow by one after every frame, but it just grows to 25 (or any other number) in one step :crazy: . And if I write this.\_x += i; it just makes the \_x grow by 25 every frame and never stops :crazy: :crazy:  
Any ideas?
