为什么这行不通?!
stop();
var board:MovieClip = new MovieClip();
board.width = 60 * 5;
board.height = 60 * 5;
board.graphics.clear();
board.graphics.beginFill(0xFF0000);
board.graphics.lineStyle(1, 0x000000);
board.graphics.drawRect(0, 0, board.width, board.height);
board.graphics.endFill();
this.addChild(board);
board.x = 40;
board.y = 40;
这很简单,之前已经做过无数次了,但它对我不起作用!!!我已将其粘贴到动作框架和文档脚本中,但都不起作用!这让我很沮丧,因为我知道这是对的!!!我正在使用 Flash CS5.5!