# Extending a movieClip

**URL:** https://forum.kirupa.com/t/extending-a-movieclip/211769
**Category:** Uncategorized
**Created:** [January 5, 2007, 12:16am UTC](https://forum.kirupa.com/t/extending-a-movieclip/211769 "2007-01-05T00:16:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Sirisian](https://avatars.discourse-cdn.com/v4/letter/s/439d5e/32.png) [@Sirisian](https://forum.kirupa.com/u/Sirisian)
#### Post date: [January 5, 2007, 12:16am UTC](https://forum.kirupa.com/t/extending-a-movieclip/211769/1 "2007-01-05T00:16:41Z")

</div>

Does flash allow for actual derived classes of movieClip? I got an error when I tried to do this: (I’m making a better listBox for flash 🙂 )

```auto
class DynamicListBox extends MovieClip
{
    function DynamicListBox(){
    this.onEnterFrame = function():Void{ trace("Hello");}
    }
};

```

I mean doesn’t extend inherit the property and functions of MovieClip? Or does flash not handle it like this?
