# \[FMX\] Textbox's counting up?

**URL:** https://forum.kirupa.com/t/fmx-textboxs-counting-up/123943
**Category:** Uncategorized
**Created:** [September 28, 2004, 6:37pm UTC](https://forum.kirupa.com/t/fmx-textboxs-counting-up/123943 "2004-09-28T18:37:31Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![flashy22](https://avatars.discourse-cdn.com/v4/letter/f/848f3c/32.png) [@flashy22](https://forum.kirupa.com/u/flashy22)
#### Post date: [September 28, 2004, 6:37pm UTC](https://forum.kirupa.com/t/fmx-textboxs-counting-up/123943/1 "2004-09-28T18:37:31Z")

</div>

Hey all,  
ok lets first start with my settings:  
i have a dynamic text box with the var: counter, instance: c2  
i have a MC on the screen with the code

```auto

onClipEvent(enterFrame){
_root.counter ++;
}

```

i want to put some coding on the frame they are on to say, when the text box counter reaches 200, gotoAndStop(2);  
but i was puzzled as to how,  
thanks alot,  
Ben (flashy22)
