#include
- Started
- Last post
- 9 Responses
- springbok
I have a Flash File with an external AS file in the folder
AS_files
using this code;
#include "AS_files/functions.as"
and get this error;
**Error** Scene=Scene 1, layer=fs, frame=1:Line 1: Error opening include file AS_files/functions.as: File not found.
#include "AS_files/functions.as"Total ActionScript Errors: 1 Reported Errors: 1
The file is there very strange.
Anyone help?
- grown-sexy0
because there is a space in file ending; "functions. as"?
- springbok0
no its not that I think that is just how NT shows text that is copied and pasted
- kinetic0
that's really bizarre man....i just did the same setup , same names and everything and it works fine for me
- tkmeister0
does it work if you move the file up one directory and change the link name as well?
- gabe0
i have a directory of AS files in a central location so that i don't have to duplicate them for each project...
edit > preferences > actionscript > actionscript 2.0 settings
click the + and locate the directory you want to import from, should work
- PonyBoy0
gabe... nice tip! thx!
- springbok0
still getting the same problem, the files are here;
http://www.visualthoughts.co.uk/…
anychance someone can take a look and see what im doing wrong. Im just in the process of tiding this script up.
- springbok0
got it working now cheers guys
- springbok0
not sure what it was but just dropped my frames from the file that wasn't working in the file which kinetic left.
Cheers kinetic