Skip to main content
April 18, 2006
Question

Loader Problem

  • April 18, 2006
  • 3 replies
  • 341 views
HI all
i have make a design tool in which any user can design art work. It is 1.2 MB file and including fonts,graphics and other shapes. Now
i have put a simple loader but problem it that during loading initially nothing come but after 90% loader show and then flash movie shown, means we can see loader when movie loaded 89 % and when it reach to 90% then loader shows,,,,

I have tried this loader for another file and it work well plz find out the problem and tell me

regrads

Maneesh Panwar
This topic has been closed for replies.

3 replies

Participating Frequently
April 19, 2006
Hi Maneesh,

Try reading through this and see if you can find out what the problem is. I'm probably not the best person to advice on your issues but I can tell you that if your export for 'action script' is turned on for your library items then Flash has to load all those items before the swf can go to Frame 1 and start playing.

here's a useful link: http://www.senocular.com/flash/tutorials/preloading/

Thanks.
April 19, 2006
I have tried it but nothing is there all font image and art work are coming into frame number 10 ...

AS:::

onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int(loaded/total*100);
text = percent+"%";
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(10);
}
}


This is the Code for loader it is working for another
Inspiring
April 19, 2006
Are those fonts embedded? If so are there any font symbols in the library and are they being exported on frame 1? You can change this by going to the Library> right clicking on the symbol >Linkage uncheck “export in first frame”. Also any other symbol will be exported on frame 1 unless you change it.
Participating Frequently
April 18, 2006
check your first frame where you have the loader see if any other stuff are there.
if you place a bg image in the same frame as the load script, the bg image will load first.