Commit 2d44e1e9 authored by Dan Rossi's avatar Dan Rossi
Browse files

- fixes for #75

parent bd3248e6
......@@ -247,7 +247,7 @@
private function createScreenMask():void {
blendMode = BlendMode.LAYER;
/*var squareEdgeSize:int = Math.max(stage.stageWidth, stage.stageHeight);
var squareEdgeSize:int = Math.max(stage.stageWidth, stage.stageHeight);
_screenMask = new Sprite();
_screenMask.graphics.beginFill(0x000000, 1);
......@@ -256,17 +256,7 @@
_screenMask.blendMode = BlendMode.ERASE;
_screenMask.x = 0;
_screenMask.y = 0;*/
_screenMask = new Sprite();
_screenMask.graphics.beginFill(0xff0000);
_screenMask.graphics.drawRect(0, 0, 1, 1);
_screenMask.blendMode = BlendMode.ERASE;
_screenMask.x = 0;
_screenMask.y = 0;
_screenMask.width = 100;
_screenMask.height = 100;
_screenMask.y = 0;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment