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: flash on 2012-11-18

Get Adobe Flash player
by ysissy 18 Nov 2012
/**
 * Copyright ysissy ( http://wonderfl.net/user/ysissy )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/h1MD
 */

// forked from DakeNemui's flash on 2012-11-18
package {
    import flash.events.TimerEvent;
    import flash.utils.Timer;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            
            var t_DRAW:Timer = new Timer(50);
            
            t_DRAW.addEventListener(TimerEvent.TIMER,drawCirc);
            t_DRAW.start();
            
            function drawCirc(event:TimerEvent):void
            {
                graphics.beginFill(0x000000);
                graphics.drawCircle(mouseX,mouseY,Math.random()*25);
            }
            
            
            
            
            
            
        }
    }
}