I have seen similar questions, but not this specific problem
I have a folder structure like this:
root
+ com
- classes
- class1.as
- class2.as
- other
- otherClass.as
+ folder1
- file.swf
- index.swf
I want to import a class from com/classes/
From index.swf
I would do:
import com.classes.class1;
import com.other.otherClass;
And I have no problem importing, but when I do the same on file.swf
(which is in a subfolder), the class can't be found.
So, how can I import in file.swf
class1.as
if the route is: ../com/classes/class1.as