flash on 2010-2-23

by yd_niku
♥0 | Line 22 | Modified 2010-02-23 21:39:45 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.text.TextFormat;
    import flash.filters.BlurFilter;
    import flash.filters.DropShadowFilter;
    import flash.filters.GlowFilter;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            var textField:TextField = new TextField();
            addChild(textField);
            
            textField.type = "input";
            textField.width = 465;
            textField.height = 465;
            textField.defaultTextFormat = new TextFormat("_sans",36, 0xFFFFFF, true);
            textField.text = "TESTTEST";
            textField.filters = [
            		new GlowFilter( 0x996600, 1, 4, 4, 200, 2 )
            	];
        }
    }
}