James O'Reilly wrote:
It all depends on how you use the .as files. You can either INCLUDE them or IMPORT them. You import classes and include external code. The error you're getting like is a result of importing your script instead of including it.

Try using include:
#include "yourscript.as"

Notice no semicolon at the end of the line.

JOR

These scripts are already included like that :<

I'm not too worried, because like I said, it's working for me when I compile with PrimalScript.

Maybe in my next project I'll figure it out properly.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to