Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function Main() {
- var tf:TextField = new TextField();
- tf.scaleX = 2;
- tf.scaleY = 2;
- tf.baseWidth = 200;
- tf.baseHeight = 200;
- /* 400 */
- tf.baseWidth = tf.computedWidth + 5; //tf.width += 5;
- /*405*/
- /* 400 */
- tf.baseHeight = tf.computedHeight * 2; //tf.height *= 2;
- /*800*/
- /* 810 */ /*1600*/
- trace(tf.computedWidth, tf.computedHeight);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement