# Movie timeline/statusbar

**URL:** <https://forum.kirupa.com/t/movie-timeline-statusbar/148749>\
**Category:** flash\
**Created:** [May 23, 2005, 10:23am UTC](https://forum.kirupa.com/t/movie-timeline-statusbar/148749 "2005-05-23T10:23:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pete\_zahut](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pete\_zahut](https://forum.kirupa.com/u/pete_zahut)\
**Post date:** [May 23, 2005, 10:23am UTC](https://forum.kirupa.com/t/movie-timeline-statusbar/148749/1 "2005-05-23T10:23:44Z")

</div>

Hi,

I’m creating a small docu where you have some control functions like you have in Windows Media Player or Winamp or…

So my problem is that I don’t know how I can make the statusbar ( **a bar where you can see how far the movie is** ).

I just have a bar that begins with a width of 0 and I want to make a **itterative function** that just does a \_width++ every second/24fps

\*\*  
The question:\*\*  
Is there a function, like the Thread.sleep() method in Java, that let’s you wait for a certain amount of milliseconds?  
Or do I have to put on every frame a call for my ++ function.

M’kay?

Thanks in advance :h:
