home *** CD-ROM | disk | FTP | other *** search
- function update()
- {
- _height = 576 / (totalLines + 5);
- bottom = top + (96.6 - _height);
- }
- function appendText(tx)
- {
- moveNumber++;
- text = "" + moveNumber + "." + tx + "\n" + text;
- _root.text = title + text;
- totalLines++;
- update();
- gotoBottom();
- }
- function clearText()
- {
- _root.text = title;
- text = "";
- totalLines = 1;
- update();
- moveNumber = 0;
- }
- totalLines = 0;
- title = "\n";
- text = "";
- top = _Y;
- left = _X;
- right = _X;
- clearText();
-