flash on 2010-2-14
♥0 |
Line 21 |
Modified 2010-02-14 18:46:58 |
MIT License
archived:2017-03-20 00:41:33
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/c5t5
*/
package {
import flash.display.Sprite;
public class Main extends Sprite {
var sikaku:Sprite;
public function Main() {
sikaku = new Sprite;
with(sikaku.graphics){
lineStyle(1,1,1);
beginFill(0xff0000);
moveTo(0,0);
lineTo(100,0);
lineTo(100,100);
lineTo(0,100);
endFill();
}
this.addChild(sikaku);
sikaku.x = 100;
sikaku.y = 100;
}
}
}