# Brain freeze

**URL:** https://forum.kirupa.com/t/brain-freeze/273827
**Category:** Uncategorized
**Created:** [October 21, 2008, 1:34pm UTC](https://forum.kirupa.com/t/brain-freeze/273827 "2008-10-21T13:34:00Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)
#### Post date: [October 21, 2008, 1:34pm UTC](https://forum.kirupa.com/t/brain-freeze/273827/1 "2008-10-21T13:34:00Z")

</div>

so shoot me, I’m starting with basics in classes to build my confidence, yet hit an obvious rock

[AS]for(i=0;i\<5;i++){  
var tempPage:Page = new Page(this, i, 106\*i, 0, 0, 104, 71)  
}[/AS]

I get only 1 item, as yes… I only declaring one variable. How do I increment whilst calling a class?

Thanks plz
