flash on 2012-12-6
♥0 |
Line 14 |
Modified 2012-12-06 12:55:20 |
MIT License
archived:2017-03-20 07:21:30
ActionScript3 source code
/**
* Copyright asou_jp ( http://wonderfl.net/user/asou_jp )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/gAtV
*/
package {
import flash.display.LineScaleMode;
import flash.display.Shape;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
var shape:Shape = new Shape();
addChild(shape);
shape.graphics.lineStyle(1,0xFF0000,1, false, LineScaleMode.NONE);
shape.graphics.drawRect(0,0,10,10);
shape.scaleX = shape.scaleY = 10;
}
}
}