# Attaching class to Movieclip

**URL:** https://forum.kirupa.com/t/attaching-class-to-movieclip/240820
**Category:** flash
**Created:** [October 6, 2007, 6:16pm UTC](https://forum.kirupa.com/t/attaching-class-to-movieclip/240820 "2007-10-06T18:16:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Exuk](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/exuk/32/681_2.png) [@Exuk](https://forum.kirupa.com/u/Exuk)
#### Post date: [October 6, 2007, 6:16pm UTC](https://forum.kirupa.com/t/attaching-class-to-movieclip/240820/1 "2007-10-06T18:16:30Z")

</div>

I am doing my first test making a AS3 class. I am linking the MovieClip to the class. However I am getting some errors. Can someone take a look and tell me what I am doing wrong?

Error 1046: Type was not found or was not a compile-time constant: MovieClip.
