flash on 2010-4-27

by aktm
♥0 | Line 22 | Modified 2010-04-27 14:19:55 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    import flash.events.Event;
    import flash.events.MouseEvent;
    import flash.text.TextField;
    
    
    public class main extends Sprite {
        public function main() {
            // write as3 code here.
            trace("Hello world")
            this.graphics.lineStyle(2,0xff0000);
            this.graphics.moveTo(100,100);
            this.graphics.lineTo(150,150);
            this.graphics.lineTo(100,200);
            this.graphics.lineTo(150,250);
            this.graphics.lineTo(100,300);
            this.graphics.moveTo(200,100);
            this.graphics.lineTo(250,150);
            this.graphics.lineTo(200,200);
            this.graphics.lineTo(250,250);
            this.graphics.lineTo(200,300);
            
        }
    }
}