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

flash on 2012-11-18

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

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(500);
            
            t_DRAW.addEventListener(TimerEvent.TIMER,drawCirc);
            t_DRAW.start();
            
            function drawCirc(event:TimerEvent):void
            {
                graphics.beginFill(0x000000);
                graphics.drawCircle(mouseX,mouseY,25);
            }
            
            
        }
    }
}