代码
var sprite:Sprite = new Sprite();
var txtField:TextField = new TextField();
sprite.blendMode = BlendMode.LAYER;
txtField.alpha = .5;
txtField.appendText(”text”);
addChild(sprite);
sprite.addChild(txtField);
var txtField:TextField = new TextField();
sprite.blendMode = BlendMode.LAYER;
txtField.alpha = .5;
txtField.appendText(”text”);
addChild(sprite);
sprite.addChild(txtField);