# What's more accurate? getTimer or on EnterFrame?

**URL:** <https://forum.kirupa.com/t/whats-more-accurate-gettimer-or-on-enterframe/174402>\
**Category:** Uncategorized\
**Created:** [January 5, 2006, 12:51pm UTC](https://forum.kirupa.com/t/whats-more-accurate-gettimer-or-on-enterframe/174402 "2006-01-05T12:51:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxgrafx](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/maxgrafx/32/505_2.png) [@maxgrafx](https://forum.kirupa.com/u/maxgrafx)\
**Post date:** [January 5, 2006, 12:51pm UTC](https://forum.kirupa.com/t/whats-more-accurate-gettimer-or-on-enterframe/174402/1 "2006-01-05T12:51:26Z")

</div>

Hello everyone,

I’m creating a video editor in flash. In the timeline I use getTimer and setInterval to measure the time. My question is: is this accurate enough. If not what should I use.

I tested onEnterFrame and setInterval together, onEnterFrame is taking longer to get to 5 seconds.

Maxgrafx
