When I try to include code from the external file “test.as” I get an error:
“ActionScript 2.0 class scripts may only define class or interface constructs.”
“test.as” contains a simple function:
function test () {
trace(“test”);
}
I put:
#include “test.as”
in my .fla.
I thought I could edit code in an external editor. Could somebody enlighten me if that’s possible?