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

@richtextformat's #tweetcode

Get Adobe Flash player
by LegoJoe 25 Feb 2009
package {
    import flash.display.Sprite;
    public class Tweetcode extends Sprite {
        public function Tweetcode() {
            var g=graphics;
            var mt=g.moveTo;
            var lt=g.lineTo;
            var ls=g.lineStyle;
            var m=Math;
            var r=m.random;
            var s=m.sin;
            var i=0;
            var o={};
            //#tweetcode by Richard Willis
            function f(e){i=-1;while(++i<99){if(!o[i])o[i]=[r()*255,r()*255];ls(1,1,r());mt(o[i][0],o[i][1]);lt(o[i][0]+=((r()-.5)*8),o[i][1]+=((r()-.5)*8));}}
            addEventListener("enterFrame",f);
            
        }
    }
}