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

forked from: #tweetcoding sample

#tweetcoding: code something cool in <=140 characters of AS3
More info: http://gskinner.com/playpen/tweetcoding.html
Get Adobe Flash player
by fumix 03 Mar 2009
// forked from Saqoosha's #tweetcoding sample
// forked from Saqoosha's #tweetcoding template
// #tweetcoding: code something cool in <=140 characters of AS3
// More info: http://gskinner.com/playpen/tweetcoding.html
//

package {

    import flash.display.Sprite;
    import flash.display.Graphics;
    import flash.events.Event;
    import flash.text.TextField;

    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{
if(i<225&&(x=y++)) with(addChild(new TextField)) text="wonderfl!",x=r()*450-225,y=r()*450-225,z=i*2-225, rotationX=rotationZ=r()*360;rotationY=i++	
}
            addEventListener("enterFrame",f);
        }
    }
}