flash on 2015-8-17

by asou_jp
♥0 | Line 14 | Modified 2015-08-17 22:36:05 | MIT License
play

ActionScript3 source code

/**
 * Copyright asou_jp ( http://wonderfl.net/user/asou_jp )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/dtrj
 */

package {
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.filters.GlowFilter;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            
            var tf:TextField = new TextField();
            tf.text = "fack";
            tf.filters = [new GlowFilter(0xffffff, 1, 8, 8, 16, 1),
                new GlowFilter(0x0000ff, 1, 8, 8, 16, 1)];
            stage.addChild(tf);
            
        }
    }
}