Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var title_tf:TextField = new TextField();
- var titleFormat:TextFormat = new TextFormat();
- titleFormat.size = 16;
- titleFormat.align = "center";
- titleFormat.font = "Comic Sans MS";
- title_tf.defaultTextFormat = titleFormat;
- title_tf.y = 0;
- title_tf.x = ob_width / 2;
- title_tf.text = title_str;
- title_tf.width = 0;
- title_tf.autoSize = "center";
- title_tf.mouseEnabled = false;
Add Comment
Please, Sign In to add comment