# Need a counter

**URL:** <https://forum.kirupa.com/t/need-a-counter/203745>\
**Category:** flash\
**Created:** [October 13, 2006, 5:44pm UTC](https://forum.kirupa.com/t/need-a-counter/203745 "2006-10-13T17:44:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![seran128](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@seran128](https://forum.kirupa.com/u/seran128)\
**Post date:** [October 13, 2006, 5:44pm UTC](https://forum.kirupa.com/t/need-a-counter/203745/1 "2006-10-13T17:44:37Z")

</div>

I have a flash app that I need to have a sec/frame counter for.

I need this to display on my flash app.

Say the app has 1200 frames and I set my app to do 12fps I need to display the total time  
1200frames/12fps = y then say as the flash app is running in need to display the currentframe / 12 (which is my frame rate) = x. The final outcome this point should display x | y so I have a time bar.
