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

Olimpic Circles

Get Adobe Flash player
by Zahurdias.Calimero 29 Nov 2012
    Embed
/**
 * Copyright Zahurdias.Calimero ( http://wonderfl.net/user/Zahurdias.Calimero )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/oMdY
 */

package {
    
    import flash.display.*;

    public class BasicAnimation extends Sprite
    {
        private var i:uint;
        private var d:Sprite = new Sprite();
        
        // ------- Constructor -------
        
        public function BasicAnimation()
        {
            d.graphics.lineStyle(1, 0x000000);
            d.graphics.beginFill(0xff0000, 1);
                for(i= 0; i<10; i++) 
                {
                    d.graphics.drawCircle(180, 230, (i*5)+100);
                    d.graphics.drawCircle(280, 230, (i*5)+100);
                }
            d.graphics.endFill();
            addChild(d);
        }       
    } // end class
} // end package