# Document class from classpath

**URL:** <https://forum.kirupa.com/t/document-class-from-classpath/225483>\
**Category:** flash\
**Created:** [May 12, 2007, 12:51pm UTC](https://forum.kirupa.com/t/document-class-from-classpath/225483 "2007-05-12T12:51:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TemeZ](https://avatars.discourse-cdn.com/v4/letter/t/c0e974/32.png) [@TemeZ](https://forum.kirupa.com/u/TemeZ)\
**Post date:** [May 12, 2007, 12:51pm UTC](https://forum.kirupa.com/t/document-class-from-classpath/225483/1 "2007-05-12T12:51:42Z")

</div>

I’m new in Flash CS3 and have tested it first time. I put my document class to (publish settings, fla based) classpath “classes/”, and name that class “main”… then i put to document class input field “main”, but it doesnt work…

if i put to “main.as” package classes and to document class input field “classes.main” it works… but not without that… other case when it works is that if i put main.as to same folder with .fla file…

every other classes works from classpath, without package classes.something

what is the reason? the classpath is not registered before document class run?
