# Yet another preloader transition problem

**URL:** <https://forum.kirupa.com/t/yet-another-preloader-transition-problem/209798>\
**Category:** flash\
**Created:** [December 12, 2006, 2:49pm UTC](https://forum.kirupa.com/t/yet-another-preloader-transition-problem/209798 "2006-12-12T14:49:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pixelldoll](https://avatars.discourse-cdn.com/v4/letter/p/a88e57/32.png) [@pixelldoll](https://forum.kirupa.com/u/pixelldoll)\
**Post date:** [December 12, 2006, 2:49pm UTC](https://forum.kirupa.com/t/yet-another-preloader-transition-problem/209798/1 "2006-12-12T14:49:46Z")

</div>

Hi

I’m working on the following site [http://www.ignition.ie/index\_gra.html](http://www.ignition.ie/index_gra.html)  
I’m getting there however the **preloader** I’m using keeps appearing even when the movie in question has been cached. Is there a preloader solution out there that detects when a movie has been previously loaded so that it won’t show the loader bar again. I find it annoying seeing the bar appear unneccessarily all the time.

The preloader I’m using is basically this:

onClipEvent (enterFrame) {  
loading = \_parent.getBytesLoaded();  
total = \_parent.getBytesTotal();  
percent -= (percent-((loading/total)_100))_.25;  
per = int(percent);  
percentage = per+"%";  
loadBar.\_width = per;  
if (percent\>99) {  
\_parent.gotoAndPlay(2);  
}  
}
