# Including custom classes

**URL:** https://forum.kirupa.com/t/including-custom-classes/215790
**Category:** Uncategorized
**Created:** [February 10, 2007, 9:01am UTC](https://forum.kirupa.com/t/including-custom-classes/215790 "2007-02-10T09:01:41Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Xenon\_Design](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/xenon_design/32/1735_2.png) [@Xenon\_Design](https://forum.kirupa.com/u/Xenon_Design)
#### Post date: [February 10, 2007, 9:01am UTC](https://forum.kirupa.com/t/including-custom-classes/215790/1 "2007-02-10T09:01:41Z")

</div>

Hello Kirupians,

I have a few custom classes stored in AS files. Is it possible to have these classes imported another way from using the following method:

```auto
import ClassFile;

```

I want to have the AS files loaded from a server (policy file created for inter-domain talk) into to flash. Also I want it to work, lets say if a person downloads the main SWF and plays it on their compy, i want the class files to be loaded from [http://xyz.com/ClassFile.as](http://xyz.com/ClassFile.as) and so on.

Any way to do this?
