# Quick Q: Overriding Event Functions

**URL:** https://forum.kirupa.com/t/quick-q-overriding-event-functions/234700
**Category:** flash
**Created:** [August 4, 2007, 7:20pm UTC](https://forum.kirupa.com/t/quick-q-overriding-event-functions/234700 "2007-08-04T19:20:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![McGuffin](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mcguffin/32/408_2.png) [@McGuffin](https://forum.kirupa.com/u/McGuffin)
#### Post date: [August 4, 2007, 7:20pm UTC](https://forum.kirupa.com/t/quick-q-overriding-event-functions/234700/1 "2007-08-04T19:20:41Z")

</div>

2 event classes (EventType2 extends EventType1) define events. I have listener functions, one is standard, one overrides the standard:

```auto

// first class
protected function eventFunc(e:EventType1):void {}

// second class
override protected function eventFunc(e:EventType2):void {}

```

When overriding, the parameters list must be the same, but since EventType2 extends EventType1, would that make this valid?

Many thanks.
