MonsterDebugger is now available!
/**
* Copyright 9re ( http://wonderfl.net/user/9re )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/gvDN
*/
package {
import flash.display.Sprite;
import com.demonsters.debugger.MonsterDebugger;
public class FlashTest extends Sprite {
public function FlashTest() {
var size:int;
var box:Box;
for (var i:int = 0; i < 5; ++i) {
size = 400 - 50 * i;
box = new Box(size);
box.x = box.y = (465 - size) >> 1;
addChild(box);
}
MonsterDebugger.initialize(this);
MonsterDebugger.trace(this, this);
}
}
}
import flash.display.Sprite;
class Box extends Sprite {
public function Box(size:int):void {
graphics.beginFill(0x333333, 0.3);
graphics.drawRect(0, 0, size, size);
graphics.endFill();
}
}