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

test_10

Shapeクラスの使用
Get Adobe Flash player
by ekoruru 09 Apr 2011
    Embed
/**
 * Copyright ekoruru ( http://wonderfl.net/user/ekoruru )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/xjhr
 */

package 
{
    import flash.display.Graphics;
    import flash.media.Sound;    
    import flash.display.Sprite;
    import flash.display.Shape;
    
    public class main extends Sprite 
    {
        public function main() 
        {
            var shape:Shape = new Shape();
            var s:Graphics = shape.graphics;          
            
            s.beginFill(0xed1a3d);
            s.drawCircle(0,0,40);
            s.endFill();
            addChild(shape);
            
            shape.x = 200;
            shape.y = 100;
            shape.alpha = 0.5;
        }
    }
}