flash on 2010-2-27

by foo9
♥0 | Line 18 | Modified 2010-02-27 22:15:19 | MIT License
play

ActionScript3 source code

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

package 
{
    import flash.display.Sprite;
    import flash.text.TextField;
    
    [SWF(backgroundColor="#cccccc")]
    public class FlashTest extends Sprite 
    {
    		private var tf:TextField;
    		
        public function FlashTest() 
        {                
            tf = new TextField();
            tf.width = 465;
            tf.height = 465;
            tf.text = "hoge"
            addChild(tf);
        }
    }
}