flash on 2011-10-9
/**
* Copyright johnrnyquist ( http://wonderfl.net/user/johnrnyquist )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/nyt4
*/
package {
import flash.text.TextFieldAutoSize;
import flash.text.TextField;
import flash.utils.describeType;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
var tx:XML = describeType(Object);
var t:TextField = new TextField();
addChild(t);
t.text = "hello";
t.text = tx;
t.autoSize = TextFieldAutoSize.LEFT;
tx = describeType(t);
t.text = tx;
}
}
}