📜  actionscript 代码示例中的 hello world

📅  最后修改于: 2022-03-11 15:04:50.579000             🧑  作者: Mango

代码示例1
_root.createTextField("message", 0, 5, 5, 300, 50);
var tf:TextFormat = new TextFormat(); 
tf.color = 0xFF0000;
tf.size = 32;
tf.bold = true;
message.setTextFormat(tf);
message.text = "Hello World!";