hi.
this is most likely an easy question for some, so hopefully the answer will be simple too.
i’m just wondering whether there has to be any other linking or something when you have multiple .as files for one .fla file.
i have three and nothing is happening. im just wondering if i have it all covered.
(the classes are linked with the library movieclips and the document class in main)
any help?
excerpt from ADOBE. the import statement should go in the first frame of the main timeline, if I understand correctly.
Document-level classpath is a classpath that you specifically define for a single Flash document. It is set in the Publish Settings dialog box (File > Publish Settings, select the Flash tab, and then click the Settings button).
When you import class files, the following rules apply:
The import statements can exist in the following locations:
Anywhere before the class definition in class files
Anywhere in frame or object scripts
Anywhere in ActionScript files that you include in an application (using the #include statement).
You import individual, packaged definitions using this syntax:
import flash.display.BitmapData;
You can import entire packages using the wildcard syntax:
import flash.display.*;