Change of base poop

by Highly forked from text and timer (diff: 6)
Shows what a number would b given a different base. Assuming number starts in base10
♥0 | Line 35 | Modified 2011-03-15 05:04:19 | MIT License
play

ActionScript3 source code

/**
 * Copyright Highly ( http://wonderfl.net/user/Highly )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/pG0X
 */

// forked from Highly's text and timer
package {
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.utils.Timer;
    import flash.events.TimerEvent;
    import flash.events.Event;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            var ti:Timer = new Timer(0,0);
            ti.addEventListener(TimerEvent.TIMER,tmr);
            ti.start();
            var i:int=0;
            var a:Array = [];
            while(i<10){
                a.push(i);
                ++i;
            }

            function tmr(e:TimerEvent):void{
                a.push(i);
                
                out1.text =i+"";
                ++i;
               
                
            }
            var out1:TextField = new TextField();
            out1.x=0;
            out1.y=0;
            out1.selectable = false;
            out1.multiline = true;
            out1.wordWrap = true;
            out1.width = stage.stageWidth;
            out1.height = stage.stageHeight;
            out1.text = "I'm Gay";
            addChild(out1);
            
        }
    }
}