loadMovie (_root.bildpfad1, this.Bild1);
loadMovie (_root.bildpfad2, this.Bild2);
loadMovie (_root.bildpfad3, this.Bild3);
loadMovie (_root.bildpfad4, this.Bild4);
loadMovie (_root.bildpfad5, this.Bild5);
loadMovie (_root.bildpfad6, this.Bild6);
loadMovie (_root.bildpfad7, this.Bild7);
loadMovie (_root.bildpfad8, this.Bild8);
loadMovie (_root.bildpfad9, this.Bild9);
loadMovie (_root.bildpfad10, this.Bild10);
loadMovie (_root.bildpfad11, this.Bild11);
loadMovie (_root.bildpfad12, this.Bild12);
loadMovie (_root.bildpfad13, this.Bild13);
loadMovie (_root.bildpfad14, this.Bild14);
loadMovie (_root.bildpfad15, this.Bild15);
loadMovie (_root.bildpfad16, this.Bild16);
loadMovie (_root.bildpfad17, this.Bild17);
loadMovie (_root.bildpfad18, this.Bild18);
_root.preloader._visible = 1;
getTotal = function () {
total1 = _root.printer.Bild1.getBytesTotal ();
total2 = _root.printer.Bild2.getBytesTotal ();
total3 = _root.printer.Bild3.getBytesTotal ();
total4 = _root.printer.Bild4.getBytesTotal ();
total5 = _root.printer.Bild5.getBytesTotal ();
total6 = _root.printer.Bild6.getBytesTotal ();
total7 = _root.printer.Bild7.getBytesTotal ();
total8 = _root.printer.Bild8.getBytesTotal ();
total9 = _root.printer.Bild9.getBytesTotal ();
total10 = _root.printer.Bild10.getBytesTotal ();
total11 = _root.printer.Bild11.getBytesTotal ();
total12 = _root.printer.Bild12.getBytesTotal ();
total13 = _root.printer.Bild13.getBytesTotal ();
total14 = _root.printer.Bild14.getBytesTotal ();
total15 = _root.printer.Bild15.getBytesTotal ();
total16 = _root.printer.Bild16.getBytesTotal ();
total17 = _root.printer.Bild17.getBytesTotal ();
total18 = _root.printer.Bild18.getBytesTotal ();
totalx = (total1 + total2 + total3 + total4 + total5 + total6 + total7 + total8 + total9 + total10 + total11 + total12 + total13 + total14 + total15 + total16 + total17 + total18);
return totalx;
};
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
getGeladen = function () {
loaded1 = _root.printer.Bild1.getBytesLoaded ();
loaded2 = _root.printer.Bild2.getBytesLoaded ();
loaded3 = _root.printer.Bild3.getBytesLoaded ();
loaded4 = _root.printer.Bild4.getBytesLoaded ();
loaded5 = _root.printer.Bild5.getBytesLoaded ();
loaded6 = _root.printer.Bild6.getBytesLoaded ();
loaded7 = _root.printer.Bild7.getBytesLoaded ();
loaded8 = _root.printer.Bild8.getBytesLoaded ();
loaded9 = _root.printer.Bild9.getBytesLoaded ();
loaded10 = _root.printer.Bild10.getBytesLoaded ();
loaded11 = _root.printer.Bild11.getBytesLoaded ();
loaded12 = _root.printer.Bild12.getBytesLoaded ();
loaded13 = _root.printer.Bild13.getBytesLoaded ();
loaded14 = _root.printer.Bild14.getBytesLoaded ();
loaded15 = _root.printer.Bild15.getBytesLoaded ();
loaded16 = _root.printer.Bild16.getBytesLoaded ();
loaded17 = _root.printer.Bild17.getBytesLoaded ();
loaded18 = _root.printer.Bild18.getBytesLoaded ();
loadedx = (loaded1 + loaded2 + loaded3 + loaded4 + loaded5 + loaded6 + loaded7 + loaded8 + loaded9 + loaded10 + loaded11 + loaded12 + loaded13 + loaded14 + loaded15 + loaded16 + loaded17 + loaded18);
return loadedx;
};
var controller = this.createEmptyMovieClip ("promotor", 1);
controller.onEnterFrame = function () {
var geladen = _root.printer.getGeladen ();
var total = _root.printer.getTotal ();
if (geladen && total) {
var ready = Math.round (geladen * 100 / total);
_root.preloader.prozentanzeige = "Lade..." + ready + "%";
_root.preloader.kbanzeige = Math.round (ready / 1024) + " kB von " + Math.round (total / 1024) + " kB";
_root.preloader.ladebalken._xscale = ready;
}
else {
var ready = 0;
}
if (geladen == total) {
_root.preloader._visible = 0;
_root.printer.nextFrame ();
_root.printer.promotor.unloadMovie ();
delete this.onEnterFrame;
}
};