ActionScript "Malformed #Include Directive"

It's caused by the semicolon

If you're getting this error:

Malformed #include Directive

...then chances are that your include statement looks like this:

#include "myIncludeFile.as";

It's that trailing semicolon that's causing the error. Grit your teeth and fight the urge to put one there, changing your code to:

#include "myIncludeFile.as"

...and adios annoying error.

www.cylindersix.com

This page is © Cylinder Six Limited and contains information about an error known as Actionscript Malformed Include Directive