# Event Listener curiosity

**URL:** https://forum.kirupa.com/t/event-listener-curiosity/312350
**Category:** flash
**Created:** [July 31, 2010, 8:33pm UTC](https://forum.kirupa.com/t/event-listener-curiosity/312350 "2010-07-31T20:33:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![tpann](https://avatars.discourse-cdn.com/v4/letter/t/c67d28/32.png) [@tpann](https://forum.kirupa.com/u/tpann)
#### Post date: [July 31, 2010, 8:33pm UTC](https://forum.kirupa.com/t/event-listener-curiosity/312350/1 "2010-07-31T20:33:23Z")

</div>

Just as a test, here’s the entirety of my code:

```php
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?
