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

Hello, World!

Get Adobe Flash player
by bkzen 29 Mar 2013
/**
 * Copyright bkzen ( http://wonderfl.net/user/bkzen )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/nSmI
 */

package {
    import flash.display.Sprite;
    import flash.text.TextField;
    
    public class HelloWorld extends Sprite {
        
        public function HelloWorld() {
            addChild(txt = new TextField());
            $(++i+i++*++i+i++*++i*++i-++i-i++-i);
            $(++i*++i+i-i+++i);
            $(i*i+i++-i-i--);
            $(i*i+i++-i-i--);
            $(i*i---i++);
            $(i+i+i+i--);
            $(i+++i+i);
            $(--i*i+++i-i++-++i);
            $(--i*--i-i---i);
            $(++i*++i+--i-+--i-i---i++);
            $(i++*++i-i--);
            $(--i*i++);
            $(i+i+i);
        }
        
        private function $(t: int): void { txt.appendText(String.fromCharCode(t)); }
        private var txt: TextField, i: int = 0;
    }
}