forked from: Test impl of "Method chain library" with Proxy class.

by zahir forked from Test impl of "Method chain library" with Proxy class. (diff: 55)
forked from: Test impl of "Method chain library" with Proxy class.

♥0 | Line 17 | Modified 2009-11-26 04:05:02 | MIT License
play

ActionScript3 source code

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

// forked from nitoyon's Test impl of "Method chain library" with Proxy class.
package {
    import flash.display.Sprite;

    public class FlashTest extends Sprite {
        public function FlashTest() {
			// with文では駄目ですかね
			with( graphics ){
				beginFill(0xff0000)
                drawCircle(80, 80, 60)
                endFill();
                
				lineStyle(3, 0x0000ff);
                moveTo(200, 100);
                lineTo(150, 150);
                lineTo(200, 150);
                lineTo(200, 100);
			}
        }
    }
}