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 static block

Get Adobe Flash player
by knd 19 Dec 2009
package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
    	
    	    private static const SP:Sprite = new Sprite();
    	    
    	    {//static block
    	    		SP.graphics.beginFill(0xff9999);
    	    		SP.graphics.drawCircle(50, 50, 50);
    	    }
    	    
        public function FlashTest() {
            // write as3 code here..
            addChild(SP);
        }
    }
}