# Editing linked library items class

**URL:** <https://forum.kirupa.com/t/editing-linked-library-items-class/297222>\
**Category:** Uncategorized\
**Created:** [September 28, 2009, 12:27pm UTC](https://forum.kirupa.com/t/editing-linked-library-items-class/297222 "2009-09-28T12:27:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![grass](https://avatars.discourse-cdn.com/v4/letter/g/96bed5/32.png) [@grass](https://forum.kirupa.com/u/grass)\
**Post date:** [September 28, 2009, 12:27pm UTC](https://forum.kirupa.com/t/editing-linked-library-items-class/297222/1 "2009-09-28T12:27:23Z")

</div>

created a mc in library, gave it classname…

everything works, can access it by  
var asd = new classname();

created classname.as with classname class as i need to add variable to the movieclip

and getting error 1180: call to possibly undefined method “classname”

is there any difference in a class if it’s a library element?
