flash on 2010-1-7

by hacker_yk666qry
♥0 | Line 21 | Modified 2010-01-07 08:41:43 | MIT License
play

ActionScript3 source code

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

package {
	import flash.text.TextFormat;
	import flash.text.TextField;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
    		
    		
        public function FlashTest() {

            
            graphics.beginFill(0xffff00);
            graphics.drawCircle(100,100,100);
            graphics.drawRect(50,50,100,100);
            graphics.endFill();
            
                    		var format:TextFormat = new TextFormat();
        		format.color = 0x000000;
            var tf:TextField = new TextField();
            tf.defaultTextFormat = format;
            tf.x = 10;
            tf.y = 100;
            tf.text = "1111111111111111111";
            addChild(tf);
        }
    }
}