Preloader troubles - plz help

hi everyone

My problem is:

I want to do a preloader with a circular shaped progress meter. Much like the ones in the portfolio section of this site:

I have made an progress animation in five steps (keyframes). and I want and output from my main timeline, that will my progress animation jump a keyframe each time 20% is loaded.

my curent code from the main timeline looks like this:

bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
this.loadText = Math.round(getPercent*100)+"%";
if (bytes_loaded == bytes_total) {


Rasmus skaft