# Include directive problem

**URL:** https://forum.kirupa.com/t/include-directive-problem/239486
**Category:** Uncategorized
**Created:** [September 22, 2007, 9:39am UTC](https://forum.kirupa.com/t/include-directive-problem/239486 "2007-09-22T09:39:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![php\_expert](https://avatars.discourse-cdn.com/v4/letter/p/a698b9/32.png) [@php\_expert](https://forum.kirupa.com/u/php_expert)
#### Post date: [September 22, 2007, 9:39am UTC](https://forum.kirupa.com/t/include-directive-problem/239486/1 "2007-09-22T09:39:10Z")

</div>

Hi

I made a fla file under D:\mysite

in the first frame I wrote

#include “keys.as”;

I made another AS file by the name keys.as and saved in the same folder.

then I went to preferences and added a include path by browsing my MYSITE folder.

But when I run the fla file I get the following error,

```auto
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: Malformed #include directive
     #include "first.as";

Total ActionScript Errors: 1 Reported Errors: 1

```

there is no error in the keys.as itself, I guess include directive is creating problem. How can I fix this error?

thanks
