Jean Jacques
04-12-2003, 01:29 PM
The problem is the loop at the bottom of the code. :(
// Place and Load Extern Picture
movieclip.prototype.ladeBild = function (obj,img,posx,posy) {
obj.loadMovie(img);
obj._x = posx;
obj._y = posy;
}
movieclip.prototype.ladeStatus = function (lobj,ausT,ausL,balken) {
this[ausT] = lobj.getBytesTotal();
this[ausL] = lobj.getBytesLoaded();
this.prozent = lobj.getBytesLoaded()*100/lobj.getBytesTotal();
balken._xscale = this.prozent;
this.auspro = int(this.prozent) + "%";
}
stop();
for(i=1; i<=8; i++){
ladeBild(pict1,"presentatie/2003F3CZPR00"+i+"klein.jpg",185,141);
}
I want "pict1" to read until "pict8".
I just don't know the exact way to do this. I've allready tried:
pict+(i)
pict(i)
Please help me out.
Thanks
// Place and Load Extern Picture
movieclip.prototype.ladeBild = function (obj,img,posx,posy) {
obj.loadMovie(img);
obj._x = posx;
obj._y = posy;
}
movieclip.prototype.ladeStatus = function (lobj,ausT,ausL,balken) {
this[ausT] = lobj.getBytesTotal();
this[ausL] = lobj.getBytesLoaded();
this.prozent = lobj.getBytesLoaded()*100/lobj.getBytesTotal();
balken._xscale = this.prozent;
this.auspro = int(this.prozent) + "%";
}
stop();
for(i=1; i<=8; i++){
ladeBild(pict1,"presentatie/2003F3CZPR00"+i+"klein.jpg",185,141);
}
I want "pict1" to read until "pict8".
I just don't know the exact way to do this. I've allready tried:
pict+(i)
pict(i)
Please help me out.
Thanks