flash on 2010-2-14

by 084
♥0 | Line 15 | Modified 2010-02-14 08:05:13 | MIT License
play

ActionScript3 source code

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

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        
        public function FlashTest() {
            // write as3 code here..
            var shape:Sprite = new Sprite();
            this.addChild(shape);
            with(shape.graphics){
           lineStyle (5, 0x000000, 0.5);
           curveTo (100, 150, 200, 0);
           }
           shape.x = 100;
           shape.y = 100;
        }
    }
}