# Extending class of a movie clip

**URL:** <https://forum.kirupa.com/t/extending-class-of-a-movie-clip/161862>\
**Category:** Uncategorized\
**Created:** [September 7, 2005, 6:58pm UTC](https://forum.kirupa.com/t/extending-class-of-a-movie-clip/161862 "2005-09-07T18:58:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Iammontoya](https://avatars.discourse-cdn.com/v4/letter/i/bbce88/32.png) [@Iammontoya](https://forum.kirupa.com/u/Iammontoya)\
**Post date:** [September 7, 2005, 6:58pm UTC](https://forum.kirupa.com/t/extending-class-of-a-movie-clip/161862/1 "2005-09-07T18:58:53Z")

</div>

I extended the class of a movie clip so it would simply be drag and drop and it would trace its x and y position. That works great.

Here’s the situation. It will only work if I already have an instance of the mc on the stage. It will not work if I attach an instance directly from the library.

Any thoughts on that? Is there a way to make it work directly from the library?
