# AS2:: Counting upwards

**URL:** https://forum.kirupa.com/t/as2-counting-upwards/289292
**Category:** flash
**Created:** [May 28, 2009, 4:32pm UTC](https://forum.kirupa.com/t/as2-counting-upwards/289292 "2009-05-28T16:32:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lilleypants](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lilleypants](https://forum.kirupa.com/u/lilleypants)
#### Post date: [May 28, 2009, 4:32pm UTC](https://forum.kirupa.com/t/as2-counting-upwards/289292/1 "2009-05-28T16:32:13Z")

</div>

Hello,

If there a quick way code wise of getting a dynamic textfield to count upwards to a specific number?

i.e. I have a global variable named: \_global.num and this equals 30 and I want it to count from 0 to 30 quite quickly.

Any help would be great thanks!!
