# Help Modifying/Understanding Flash Counter

**URL:** <https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007>\
**Category:** flash\
**Created:** [July 2, 2008, 9:56pm UTC](https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007 "2008-07-02T21:56:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fester8542](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@fester8542](https://forum.kirupa.com/u/fester8542)\
**Post date:** [July 2, 2008, 9:56pm UTC](https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007/1 "2008-07-02T21:56:20Z")

</div>

I’ve reluctantly agreed to try and help a friend fix a counter on one of the flash applets he hired someone to make for him. It’s AS2 and done in Flash 8.

[http://www.bestondesign.com/globe-help.zip](http://www.bestondesign.com/globe-help.zip)

It pulls from the current time on the system clock.  
Essentially it’s counting 4 times too slow. I am awful with even reading AS let alone trying to find the equation running this.

Could anyone please explain to me what I need to edit in the AS to speed this up?

I apologize in advance for my noobness. I have not touched flash in years.

Thanks

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [July 2, 2008, 10:26pm UTC](https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007/2 "2008-07-02T22:26:46Z")

</div>

Is it supposed to increment once per second?

'Cos that’s what appears to be happening when I test it.

This is the script that controls the speed:  
\_global.setTimeout(this, “parseNumber”, 1000);

The “1000” is the frequency in milliseconds by which the parseNumber funcion is called, i.e. one second. If you want it to run 4 times faster, change the number to 250 milliseconds.

---

<div class="post-metadata">

**Author:** ![fester8542](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@fester8542](https://forum.kirupa.com/u/fester8542)\
**Post date:** [July 2, 2008, 10:41pm UTC](https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007/3 "2008-07-02T22:41:39Z")

</div>

Glos,  
You are the man. Thank you.

That is exactly what I was looking for.

---

<div class="post-metadata">

**Author:** ![glosrfc](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/glosrfc/32/8334_2.png) [@glosrfc](https://forum.kirupa.com/u/glosrfc)\
**Post date:** [July 2, 2008, 11:00pm UTC](https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007/4 "2008-07-02T23:00:20Z")

</div>

My invoice is in the post 😉

---

<div class="post-metadata">

**Author:** ![fester8542](https://avatars.discourse-cdn.com/v4/letter/f/a183cd/32.png) [@fester8542](https://forum.kirupa.com/u/fester8542)\
**Post date:** [July 2, 2008, 11:56pm UTC](https://forum.kirupa.com/t/help-modifying-understanding-flash-counter/265007/5 "2008-07-02T23:56:07Z")

</div>

He He. I wish this was a paid job to give you some juice 😉
