# How to make an advanced preloader?

**URL:** https://forum.kirupa.com/t/how-to-make-an-advanced-preloader/205856
**Category:** flash
**Created:** [November 2, 2006, 6:01pm UTC](https://forum.kirupa.com/t/how-to-make-an-advanced-preloader/205856 "2006-11-02T18:01:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![liner986](https://avatars.discourse-cdn.com/v4/letter/l/bbce88/32.png) [@liner986](https://forum.kirupa.com/u/liner986)
#### Post date: [November 2, 2006, 6:01pm UTC](https://forum.kirupa.com/t/how-to-make-an-advanced-preloader/205856/1 "2006-11-02T18:01:23Z")

</div>

Hi dudes,

Ive been using the code below for preloading on a clients flash movies.

if (\_framesloaded\>=\_totalframes) {  
gotoAndPlay (“gallery”,1);  
} else {  
gotoAndPlay (1);  
}

Im quite new so Im not into actionscript that much. I was wondering if any of you know how to make those advanced preloaders which calculate percentage % and play the preloading movie considering it. If you know any tutorials or codes about this can you please tell me?

Thanks a lot,  
Liner986
