flash include question
- Started
- Last post
- 3 Responses
- kinetic
everytime i try and include some .AS file in flash like #include "NetDebug.as";
i get this error: Scene=Scene 1, Layer=Layer 1, Frame=1: Line 1: Malformed #include directive
#include "NetDebug.as";what the heck is going on here?
this should work...shouldn't it?
- lackaday0
make sure there is an empty line at the beginning and end of your as file as well as an empty line in your fla before and after your include statement. this messed me up a while back...
- kinetic0
i tried this:
// this is really empty
#include "NetDebug.as";
// so is thisbut it still gives me that error.. the NetDebug.as file is a standard file that you can call from flash any time to debug your file using the net connection debugger so i know it is well formed
- kinetic0
fixed it. i had a terminator on the end ; which was screwing it up
#include "NetDebug.as"
the above seems to work fine