# Displaying load progress

**URL:** <https://forum.kirupa.com/t/displaying-load-progress/1713>\
**Category:** flash\
**Created:** [June 7, 2002, 12:34pm UTC](https://forum.kirupa.com/t/displaying-load-progress/1713 "2002-06-07T12:34:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 7, 2002, 12:34pm UTC](https://forum.kirupa.com/t/displaying-load-progress/1713/1 "2002-06-07T12:34:12Z")

</div>

I have a .swf wich conatins a .mov movie, now what Im tryng to do is display a little bar where I show the load progress of the whole movie…since Im using streaming I want people to be able to see how the load progress is going as they are watching the movie…

My problem, I don’t know how to comunicate to the bar in wich frame should it stop…for the first two frames Im using a preloader, wich loads 'bout 20% of the whole movie then starts to play it, but as soon as I start playin the movie the bar doesnt move…

I tried using onClipEvent(EnterFrame) but it doesnt seem to work…I would be glad if someone could give me any ideas…

By the way this is the action Im using:

percentdone = int((\_framesloaded/\_totalframes)\*100);  
bar.gotoAndStop(percentdone);

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [June 7, 2002, 12:53pm UTC](https://forum.kirupa.com/t/displaying-load-progress/1713/2 "2002-06-07T12:53:38Z")

</div>

Don’t use the \_framesloaded method…use the post below that Upu made. It is much better in terms of preloaders…

[pub40.ezboard.com/fkirupa…ID=9.topic](http://pub40.ezboard.com/fkirupafrm24.showMessage?topicID=9.topic)
