well, the preloader does display load status, then simply repeats, instead of deleting itself, it just repeats the loading ... any ideas??? i just want the swf it loads to not play or start until it is fully loaded, and the label_txt is deleted etc ...
onClipEvent(load) { this.loadMovie("en.swf"); } onClipEvent(enterFrame) { tBytes = this.getBytesTotal(); bLoaded = this.getBytesLoaded(); percent = Math.round((bLoaded/tBytes)*100) if (bLoaded<tBytes) { _root.bar_mc._xscale = (bLoaded/tBytes)*100; if (percent < 10) { _root.label_txt.text = "0" + percent + "%"; } else { _root.label_txt.text = percent + "%"; } } else { _root.bar_mc.removeMovieClip(); _root.label_txt.removeTextField(); target_mc.play(); delete _root.target_mc.onEnterFrame; } } _______________________________________________ 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