asdg>> technotes>> flash 5 include bug

In Flash 5, a blank line is required between #include directives. The blank line can be inserted between the directives themselves or in the source of the file being included. This is a known bug that affects only Flash 5. For example,

// This always works.
#include "file1.as"

#include "file2.as"

// In Flash 5, this only works if there's a
// blank line at the end of file1.as.
#include "file1.as"
#include "file2.as"


Further, a comment cannot be used on the same line as an #include directive. The following code will cause an error:

#include "myFile.as" // Loads myFile