flash on 2010-1-4
♥0 |
Line 20 |
Modified 2010-01-04 20:24:16 |
MIT License
archived:2017-03-30 10:59:27
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/8YCg
*/
package {
import flash.text.TextField;
import flash.text.TextFormat;
import flash.display.Sprite;
public class FlashTest extends Sprite {
private var _format:TextFormat;
private var _tf:TextField;
public function FlashTest() {
// write as3 code here..
_format = new TextFormat();
_format.color =0x000000;
_format.size = 30;
_tf = new TextField();
_tf.defaultTextFormat = _format;
_tf.x = 100;
_tf.y = 100;
_tf.text = "1111";
addChild(_tf);
}
}
}