# Preloader problem

**URL:** https://forum.kirupa.com/t/preloader-problem/183512
**Category:** Uncategorized
**Created:** [March 27, 2006, 8:59pm UTC](https://forum.kirupa.com/t/preloader-problem/183512 "2006-03-27T20:59:44Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![adityadubey](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adityadubey](https://forum.kirupa.com/u/adityadubey)
#### Post date: [March 27, 2006, 8:59pm UTC](https://forum.kirupa.com/t/preloader-problem/183512/1 "2006-03-27T20:59:44Z")

</div>

I have a swf file which is hardly 200 KBs. I have placed a preloader bar as well as have the script - ifFrameLoaded().  
Problem is the preloader is not showing till the loaded value is around 90%.  
Since this file has a bit of actionscript involved (for interactive features) I doubt if that could be a hinderance.  
Any idea anyone?

thanks

---

<div class="post-metadata">

### Author: ![sandeep\_cdac200](https://avatars.discourse-cdn.com/v4/letter/s/ba9def/32.png) [@sandeep\_cdac200](https://forum.kirupa.com/u/sandeep_cdac200)
#### Post date: [March 28, 2006, 6:47am UTC](https://forum.kirupa.com/t/preloader-problem/183512/2 "2006-03-28T06:47:40Z")

</div>

hi aditya

read the article by senocular here and you will able to solve ur problem.

[http://www.senocular.com/flash/tutorials/preloading/](http://www.senocular.com/flash/tutorials/preloading/)

with regards  
sandeep(^\_^)

---

<div class="post-metadata">

### Author: ![MyDNA](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@MyDNA](https://forum.kirupa.com/u/MyDNA)
#### Post date: [March 28, 2006, 7:06am UTC](https://forum.kirupa.com/t/preloader-problem/183512/3 "2006-03-28T07:06:35Z")

</div>

The problem might be caused because the preloader is only visible if the first frame is loaded. your swf might be 200kb but when your preloader is already 175 you can have a problem.

at the foloowing link you find a great preload script with some explanation about how preloaders work

[http://www.macromedia.com/devnet/flash/articles/preloader.html](http://www.macromedia.com/devnet/flash/articles/preloader.html)

Kind regards Jos

---

<div class="post-metadata">

### Author: ![adityadubey](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adityadubey](https://forum.kirupa.com/u/adityadubey)
#### Post date: [March 28, 2006, 9:50am UTC](https://forum.kirupa.com/t/preloader-problem/183512/4 "2006-03-28T09:50:19Z")

</div>

You’re right, the first frame itself is around 160 kb (which also has the preloader). How to deal with this kind of a problem?  
This method has worked for all the other animation files i have, except this one (which is the smallest one).

---

<div class="post-metadata">

### Author: ![adityadubey](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adityadubey](https://forum.kirupa.com/u/adityadubey)
#### Post date: [March 28, 2006, 10:06am UTC](https://forum.kirupa.com/t/preloader-problem/183512/5 "2006-03-28T10:06:12Z")

</div>

finally! It’s working alright. Few components with export in actionscript had the option “export in first frame” on! - [http://www.actionscript.org/tutorials/beginner/Common\_Errors\_and\_Debugging/index3.shtml](http://www.actionscript.org/tutorials/beginner/Common_Errors_and_Debugging/index3.shtml)

---

<div class="post-metadata">

### Author: ![MyDNA](https://avatars.discourse-cdn.com/v4/letter/m/f6c823/32.png) [@MyDNA](https://forum.kirupa.com/u/MyDNA)
#### Post date: [March 28, 2006, 1:00pm UTC](https://forum.kirupa.com/t/preloader-problem/183512/6 "2006-03-28T13:00:05Z")

</div>

I’m glad it’s working now.  
If you can send me a link of the website.  
I’m curious what it looks like.

Gr Jos:ninja:

---

<div class="post-metadata">

### Author: ![adityadubey](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@adityadubey](https://forum.kirupa.com/u/adityadubey)
#### Post date: [March 28, 2006, 4:39pm UTC](https://forum.kirupa.com/t/preloader-problem/183512/7 "2006-03-28T16:39:33Z")

</div>

it’s a simple ecard, here - [www.praaji.com/donkey.htm](http://www.praaji.com/donkey.htm)
