Forked from: nilab's HelloWorld on 2009-3-17 diff:9 HelloWorld with GlowFilter HelloWorld こんにちは nilab forked:1favorite:0lines:24license : MIT License modified : 2009-06-07 09:58:02 Embed Tweet // 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; } } } Code Fullscreen Preview Fullscreen filter glowfilter helloworld underline GlowFilter setTextFormat text filters TextFormat font TextFieldAutoSize.LEFT autoSize size color push TextField addChild Array Sprite sort new page view favorite forked pv275 forked from: HelloWorld with G.. kenta forked:0 favorite:0lines:24 (diff:1)