forked from: crash test
this crashes my debug player,
let's see if browser plugin is any better
// forked from makc3d's crash test
// this crashes my debug player,
// let's see if browser plugin is any better
package {
import flash.display.*;
import flash.events.*;
import flash.geom.*;
public class CrashTest extends Sprite {
public var bd:BitmapData;
public function CrashTest () {
bd = new BitmapData (640, 480, false, 0);
stage.addEventListener (MouseEvent.CLICK, crash);
}
public var rects:Vector.<Rectangle> = Vector.<Rectangle>([
new Rectangle (0, -1, 1, 1) // 640 x 480
]);
public function crash (e:Event):void {
for each (var r:Rectangle in rects) bd.histogram (r);
}
}
}