感谢您检查我的问题。 我尝试了很多不同的方法,但是看不到我的错误在哪里。

function addHighScore() {
    //highscoreTable.defaultTextFormat = myFormat;
    var highscoreTable: TextField = new TextField();
    highscoreSec[indx] = hsSeconds;
    highscoreTable.text = "CAN YOU SEE MEEEE???";
    highscoreMS[indx] = hsMilliSec;
    addChild(highscoreTable);
    highscoreTable.border = true;
    highscoreTable.x = (stage.width - highscoreTable.width) / 2;
    highscoreTable.y = (stage.height - highscoreTable.height) / 2;
    indx++;
}

我还导入了flash.text.TextField()

  ask by camohreally translate from so

本文未有回复,本站智能推荐: