something one can't draw in HTML

by wh0
♥0 | Line 22 | Modified 2016-04-21 14:54:33 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            graphics.beginFill(0x404040);
            graphics.moveTo(10, 100.5);
            graphics.lineTo(239.5, 100.5);
            graphics.lineTo(225.5, 364.5);
            graphics.lineTo(10, 364.5);
            graphics.endFill();
            graphics.beginFill(0x202020);
            graphics.moveTo(455, 100.5);
            graphics.lineTo(239.5, 100.5);
            graphics.lineTo(225.5, 364.5);
            graphics.lineTo(455, 364.5);
            graphics.endFill();
            graphics.beginFill(0xc00040);
            graphics.drawRect(229, 90, 20, 10.5);
            graphics.endFill();
        }
    }
}