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

みきマスオ

/**
 * Copyright say ( http://wonderfl.net/user/say )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/eOZN
 */

// forked from say's わかめちゃん
// forked from ProjectNya's 教材:矩形(四角)を描こう!
package {
    import flash.display.Sprite;
    import flash.display.Shape;
    import flash.filters.DropShadowFilter;

    public class Main extends Sprite {
        private var shape:Shape;
        private static var color:uint = 0xff0000;

        public function Main() {
            init();
        }

        private function init():void {

            shape = new Shape();
            addChild(shape);
            shape.x = 232;
            shape.y = 232;
            shape.graphics.beginFill(0x000000);
            shape.graphics.drawCircle(0, 0, 150);
            shape.graphics.endFill();

            shape.filters = [new DropShadowFilter(20, 45, 0x000000, 0.5, 10, 16, 1, 1, false, false, false)];

            var shape1:Shape;
            shape1 = new Shape();
            addChild(shape1);
            shape1.x = 232;
            shape1.y = 100;
            shape1.graphics.beginFill(0x000000);
            shape1.graphics.drawCircle(-145, 0, 80);
            shape1.graphics.drawCircle(145, 0, 80);
            shape1.graphics.endFill();

            shape1.filters = [new DropShadowFilter(20, 45, 0x000000, 0.5, 16, 16, 1, 1, false, false, false)];

            var shape2:Shape;
            shape2 = new Shape();
            addChild(shape2);
            shape2.x = 190;
            shape2.y = 50;
            shape2.graphics.beginFill(color);
//            shape2.graphics.drawRoundRect(0, 0, 80, 60, 30);
            shape2.graphics.endFill();

        }

    }
}