dont have a lot of time, but don't load in levels please ...
try loading in container mc's in stead

There are numerous tutorials on the topic eg actionscript.org

sorry for this short insight :)




On 3/2/06, murder design <[EMAIL PROTECTED]> wrote:
>
> for some reason, my bar does not scale, and the percent is not visible in
> the text bar with the percent loaded ...
>
>
>
>
> // function to load an external .swf
> function ploader() {
> // swf file to load
> loadMovieNum("bigfile.swf", 1);
> _root.onEnterFrame = function() {
> tBytes = getBytesTotal();
> bLoaded = getBytesLoaded();
> percent = (bLoaded/tBytes) * 100;
> if (bLoaded < tBytes){
>   _root.pBar_mc._xscale = (bLoaded/tBytes)*100;
>   _root.pBar_mc.label_txt.text = percent & " % LOADED"
> } else {
>   //plays the main movie and deletes preloader
>   //play();
>   //_root.pBar_mc.unloadMovie();
>   delete this.onEnterFrame;
> }
> }
> }
>
> // call the preloader
> ploader();
>
>
>
> regards,
>
> edward
> _______________________________________________
> Flashcoders@chattyfig.figleaf.com
> 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
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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