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

wonderfl本:04

Get Adobe Flash player
by barimi 30 Dec 2009
/**
 * Copyright barimi ( http://wonderfl.net/user/barimi )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/dBxu
 */

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..            
            graphics.lineStyle(2,0x000000);
            graphics.moveTo(50,100);
            graphics.lineTo(250,100);
            graphics.lineTo(100,220);
            graphics.lineTo(150,50);
            graphics.lineTo(200,220);
            graphics.lineTo(50,100);
        }
    }
}