Just as a test, here’s the entirety of my code:
stage.removeEventListener(Event.ADDED_TO_STAGE, foobar);
function foobar(e:Event):void {
}
I never ADDED the corresponding event listener. Why doesn’t Flash complain that I’m trying to remove something I never added?