# AS3.0 classes and linkage in library

**URL:** <https://forum.kirupa.com/t/as3-0-classes-and-linkage-in-library/210001>\
**Category:** flash\
**Created:** [December 13, 2006, 11:51pm UTC](https://forum.kirupa.com/t/as3-0-classes-and-linkage-in-library/210001 "2006-12-13T23:51:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwopitz](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jwopitz/32/1556_2.png) [@jwopitz](https://forum.kirupa.com/u/jwopitz)\
**Post date:** [December 13, 2006, 11:51pm UTC](https://forum.kirupa.com/t/as3-0-classes-and-linkage-in-library/210001/1 "2006-12-13T23:51:23Z")

</div>

Hi guys. I have just started my first project using AS3.0 and Flash 9 this week. I feel like I know AS3.0 from my flex experience very well, but it is downscaled for Flash 9. Anyway I have looked for this issue in the forums and maybe I am just missing something.

I have a class we’ll call MyClass which extends Sprite. I have several methods in there that update things like rotation and position based on events it is listening for via the model. I even have a trace statement in the constructor for testing.

Now maybe this is just stupidly obvious but when ever I set a library element to link with the class (i.e. linkage = MyClass), all my script fails to work. If I remove that linkage and work from a purely data perspective it works as expected.

I have the project settings to Flash 9 and AS3.0 so that shouldn’t be an issue. Please tell me this is just some stupid mistake on my part.
