home *** CD-ROM | disk | FTP | other *** search
- i = 1;
- while(numscores >= i)
- {
- if(i != playercounter)
- {
- duplicateMovieClip(this.box,"pbox" + i,16384 + i);
- this["pbox" + i]._x = playerboxx;
- this["pbox" + i]._y = playerboxy + yoffset * i;
- duplicateMovieClip(this.box,"sbox" + i,16384 + (i + numscores));
- this["sbox" + i]._x = scoreboxx;
- this["sbox" + i]._y = scoreboxy + yoffset * i;
- this["pbox" + i].text = eval("player" + i);
- this["sbox" + i].text = eval("score" + i);
- }
- else
- {
- duplicateMovieClip(this.box2,"pbox" + i,16384 + i);
- this["pbox" + i]._x = playerboxx;
- this["pbox" + i]._y = playerboxy + yoffset * i;
- duplicateMovieClip(this.box2,"sbox" + i,16384 + (i + numscores));
- this["sbox" + i]._x = scoreboxx;
- this["sbox" + i]._y = scoreboxy + yoffset * i;
- this["pbox" + i].text = eval("player" + i);
- this["sbox" + i].text = eval("score" + i);
- }
- i++;
- }
- if(scrollto eq "True")
- {
- this.scroll1._visible = true;
- this.scroll2._visible = true;
- }
- else
- {
- this.scroll1._visible = false;
- this.scroll2._visible = false;
- }
-