# Problem with the document class

**URL:** <https://forum.kirupa.com/t/problem-with-the-document-class/297529>\
**Category:** Uncategorized\
**Created:** [October 4, 2009, 1:28pm UTC](https://forum.kirupa.com/t/problem-with-the-document-class/297529 "2009-10-04T13:28:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [October 4, 2009, 1:28pm UTC](https://forum.kirupa.com/t/problem-with-the-document-class/297529/1 "2009-10-04T13:28:46Z")

</div>

I have movieclip in the library with export name: TxtPreloader

in my document class (of that fla which is in the same package as the fla file) i have written this:  
import TxtPreloader;

but when I try to instantiate that document class from somewhere else i get an error :

1172: Definition TxtPreloader could not be found. import TxtPreloader;
