# Preloading Dinamic Files

**URL:** <https://forum.kirupa.com/t/preloading-dinamic-files/75863>\
**Category:** flash\
**Created:** [January 12, 2005, 7:48pm UTC](https://forum.kirupa.com/t/preloading-dinamic-files/75863 "2005-01-12T19:48:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![edskey](https://avatars.discourse-cdn.com/v4/letter/e/47e85d/32.png) [@edskey](https://forum.kirupa.com/u/edskey)\
**Post date:** [January 12, 2005, 7:48pm UTC](https://forum.kirupa.com/t/preloading-dinamic-files/75863/1 "2005-01-12T19:48:18Z")

</div>

Hi guys, i been preloading dinamic files based in the [Preloader for Dynamic Files tutorial by Claudio](http://www.kirupa.com/developer/mx/preloader_transition.htm)  
It works fine, but i was wondering if it’s possible to add on it some AS that  
allow it to display the percent of data loaded. So the visitor can see the amount of data loaded while loading the movie. The action script i’m using to preload the external movies is:

onClipEvent (enterFrame) {  
if (!loaded && this.\_url != \_root.\_url) {  
if (this.getBytesLoaded() == this.getBytesTotal()) {  
loaded = true;  
\_root.transition.gotoAndPlay(“opening”);  
}  
}  
}

```
After the external movie is loaded it'll play a MC that contains the transitions before the movie appears.

```

Some help please?  
Thanks.
