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

circle by lineTo()

just a test.
Get Adobe Flash player
by codeonwort 02 Sep 2011

    Talk

    gameegg at 01 Sep 2011 16:11
    graphics.moveTo(230, 230) graphics.lineTo(230.1, 230.1) 처럼 하면 좀 더 원에 가까워지지 않을까요?
    codeonwort at 01 Sep 2011 20:01
    231에 앞서 230.1로 해봤는데 그건 안 그려져요
    gameegg at 02 Sep 2011 17:46
    반올림이나 버림을 하나보네요 ㅇ_ㅇ;
    codeonwort at 02 Sep 2011 17:59
    230.13까지는 되네요
    gameegg at 03 Sep 2011 05:19
    엇.. 230.13으로 하니 231보다 모양이 좀 더 원에 가깝군요.
    Embed
/**
 * Copyright codeonwort ( http://wonderfl.net/user/codeonwort )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/dksQ
 */

package {
    import flash.display.Sprite;
    public class FlashTest extends Sprite {
        public function FlashTest() {
            // write as3 code here..
            graphics.lineStyle(100, 0xff0000)
            graphics.moveTo(230, 230)
            graphics.lineTo(230.13, 230.13)
        }
    }
}