Flash: Error #1068: Unable to open included file May 30, 2008
include is a handy little utility for separating script and graphics when classes are overkill. This opens up to the possibility of source control versioning, allowing more than one team member to work on it, and using more dedicated script editors other than the Flash IDE. The syntax is easy,
-
-
include 'yourfile.as'.
-
Where yourfile.as (or .whatever) has whatever you had on the timeline pasted into it. Note that *doesn't* contain any class files, for that 'import' is used.
This evening, on a new pc I ran into the error 1068 which is cryptic.
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/compilerErrors.html
Turns out the error was simple, on XP, the file extensions weren't turned on, so that renaming files e.g. yourfile.as, was actually "yourfile.as.txt" turning the file extensions back on is through Windows Explorer, Tools>Folder Options> uncheck "hide extensions for known file types"

Add a Comment:
You must be logged in to post a comment.