forked from: forked from: forked from: forked from: flash on 2011-2-22
「xをいじると描画もずれるけどごるふでそんなこと気にしちゃだめ」って誰か言ってくれ。。
/**
* Copyright 12346 ( http://wonderfl.net/user/12346 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/1BQF
*/
// forked from bkzen's forked from: forked from: forked from: flash on 2011-2-22
// forked from 12346's forked from: forked from: flash on 2011-2-22
// forked from bkzen's forked from: flash on 2011-2-22
// forked from paq's flash on 2011-2-22
package {
import flash.display.*;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
scaleX = scaleY = 10;
//with(graphics){var m=moveTo,l=lineTo;lineStyle(1);m(1,2);l(3,2);m(2,1);l(2,5);m(1,4);l(2,2);l(3,4)}
//with(graphics)for(i=0;i++<6;lineTo(2,2))lineStyle(1),moveTo(i<4?i:7-i,(i&1)+(i<4?1:4))
//with(graphics)for(lineStyle(i=1);5+i--;lineTo(2,2))moveTo(3+i%3,i%2+(i>-3?2:5))
//with(graphics)for(lineStyle(1),i=338720;i>>=3;lineTo(2,2))moveTo(x++%3||3,i&7)
with(graphics)for(lineStyle(1);x<6;lineTo(2,2))moveTo(1+x%3,(++x<4?1:4)+x%2)
//with(graphics)for(lineStyle(1);y<6;lineTo(2,1))moveTo(1+y%3,y%2*3+(++y<4))//どうせ描画が6ずれるならw
}
}
}