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 2011-5-8

Get Adobe Flash player
by Susisu 08 May 2011
    Embed
package {
    import flash.geom.Matrix;
    import flash.display.GradientType;
    import flash.display.Graphics;
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            var g:Graphics=graphics;
            var matrix:Matrix=new Matrix();
            matrix.createGradientBox(465,465,45,0,0);
            g.beginGradientFill(GradientType.LINEAR,[0xff0000,0x0000ff],[1,1],[0,255],matrix);
            g.drawRect(0,0,465,465);
            g.endFill();
            
        }
    }
}