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

#tweetcoding template

#tweetcoding: code something cool in <=140 characters of AS3
More info: http://gskinner.com/playpen/tweetcoding.html
Get Adobe Flash player
by Saqoosha 19 Feb 2009
/**
 * 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);
        }
    }
}