#tweetcoding template

by Saqoosha
#tweetcoding: code something cool in <=140 characters of AS3
More info: http://gskinner.com/playpen/tweetcoding.html
♥1 | Line 20 | Modified 2009-02-20 02:33:54 | MIT License
play

ActionScript3 source code

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

// #tweetcoding: code something cool in <=140 characters of AS3
// More info: http://gskinner.com/playpen/tweetcoding.html

package {

    import flash.display.*;
    import flash.events.Event;

    public class TweetCoding extends Sprite {

        public function TweetCoding() {
            var g:Graphics = graphics;
            var mt:Function = g.moveTo;
            var lt:Function = g.lineTo;
            var ls:Function = g.lineStyle;
            var m:Object = Math;
            var r:Function = m.random;
            var s:Function =m.sin;
            var i:Number = 0;
            var o:Object = {};
function f(e:Event):void{/* from here */
}/* to here */
            addEventListener("enterFrame",f);
        }
    }
}

Forked