In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

flash on 2011-10-9

Get Adobe Flash player
by johnrnyquist 08 Oct 2011
    Embed
/**
 * 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;
            
            
        }
    }
}