// forked from nilab's HelloWorld on 2009-3-17 package { import flash.display.*; import flash.text.*; import flash.filters.GlowFilter; [SWF(backgroundColor="#000000", frameRate=30)] //HelloWorld こんにちは public class HelloWorld extends Sprite { public function HelloWorld() { var textFormat:TextFormat = new TextFormat(); textFormat.color = 0x00FF00; textFormat.size = 48; textFormat.underline = false; textFormat.font = "_等幅"; var textField:TextField = new TextField(); textField.text = "hello, world\nこんにちは、世界♪"; textField.autoSize = TextFieldAutoSize.LEFT; textField.setTextFormat(textFormat); addChild(textField); var filterList:Array = new Array(); var glowFilter:GlowFilter = new GlowFilter(0xFFFFFF, 1, 16, 16, 2, 1, false, false); filterList.push(glowFilter); this.filters = filterList; } } } HelloWorld with GlowFilter