Got a problem in showing a preloader of a file which is being loaded.

This file is embedded in the html file itself, so the preloader appears for
a few seconds before the whole file loads.

Another issue that I face in preloading files which has multiple scenes. It
seems that every scene is treated as separate movies and not get loaded in a
single go.

This is my code that tracks the loading.

this.onEnterFrame = function() {

            if (checkLoading == true) {

                        if (_root.getBytesLoaded()>4) {

                                    if (_root.getBytesLoaded() ==
_root.getBytesTotal()) {

                                                play();

                                    }else{

                                                var per =
Math.round(_root.getBytesLoaded()/_root.getBytesTotal()*100);

 
mainPreloader_mc.main_preloaderText.text = per+"%";

                                                }

                        }

            }

};

 

Am I missing anything?

Do let me know

____________________________________
Thanks
Sumeet Basak
CTO
Renaissance Legal & Learning Systems Pvt. Ltd.
Cell: + 91.9223214301
web:  <http://www.renaissancesystem.com/> www.renaissancesystem.com;
<http://www.conveyancinghub.com/>  <http://www.conveyancinghub.comemail/>
www.conveyancinghub.com
email:  <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED]  

Renaissance: The Revival of Learning & Culture; Syn: Rebirth
 <mailto:[EMAIL PROTECTED]> Contact us for all your Legal, Web and
eLearning requirements

 

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to