# (huh) 4+1= 41.. what the...?!

**URL:** <https://forum.kirupa.com/t/huh-4-1-41-what-the/41473>\
**Category:** flash\
**Created:** [January 29, 2004, 4:04pm UTC](https://forum.kirupa.com/t/huh-4-1-41-what-the/41473 "2004-01-29T16:04:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![excidium](https://avatars.discourse-cdn.com/v4/letter/e/e95f7d/32.png) [@excidium](https://forum.kirupa.com/u/excidium)\
**Post date:** [January 29, 2004, 4:04pm UTC](https://forum.kirupa.com/t/huh-4-1-41-what-the/41473/1 "2004-01-29T16:04:15Z")

</div>

He people,

I got a strange problem, in the root I have a value ‘page’, everytime a button is clicked this value gets +1. This works fine, but when I want to change the value ‘page’ ( cause the +1 is static), so instead of (‘page’ = 1) 1+1 -\> I want it 4+1, it comes to the value 41…

in the root:  
[AS]  
onEnterFrame = function(){

```
if(pagePlus == true){
	page += 1
	pagePlus = false;

```

}  
}  
//Another movieClip:

onEnterFrame = function(){

```
_root.page = 4; 

```

}

[/AS]  
As a test I also gave the value ‘page’ in the head of the root  
[AS] var page =1;[/AS] But that gives desame problem.  
Someone seen this problem before?  
Thanks
