# Var not incrementing - n00b needs help :-)

**URL:** <https://forum.kirupa.com/t/var-not-incrementing-n00b-needs-help/173897>\
**Category:** flash\
**Created:** [December 30, 2005, 5:08pm UTC](https://forum.kirupa.com/t/var-not-incrementing-n00b-needs-help/173897 "2005-12-30T17:08:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![krembo99](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/krembo99/32/1640_2.png) [@krembo99](https://forum.kirupa.com/u/krembo99)\
**Post date:** [December 30, 2005, 5:08pm UTC](https://forum.kirupa.com/t/var-not-incrementing-n00b-needs-help/173897/1 "2005-12-30T17:08:56Z")

</div>

Ok you AS wizards …

I need help.  
Attached is a file, what i am trying to do is change the image every time i hit a corner.  
My code is all messed up, and there are 2 embaded pictures (which eventually should be uploaded from XML as well)  
I am sure you will understand what i want when you will run the file.  
My problem is … my varaiable § is not incremating above 3, and is going to 0 every time …  
I know this is a n00b question, i have just little AS experiance, and i am sure it is some stupid thing i overlooked, but i just can’t find it 🙂  
Anyone ??  
file is here [http://www.magmalab.net/cgtalk/corners2+xml.zip](http://www.magmalab.net/cgtalk/corners2+xml.zip)
