In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

forked from: crash test

this crashes my debug player,
let's see if browser plugin is any better
Get Adobe Flash player
by shohei909 02 Dec 2010
// 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);
        }
    }
}