I’m having a bit of trouble getting a class to import.
Here is my filesystem:
- com
- test
- class1.as
- example
- class2.as
I’m working on class1.as and want to import class2. How can I do that?
The following doesn’t seem to work:
import com.example.class2;
How can I access class2 from class1?
Have you tried to import
example.class2instead ofcom.example.class2? And make sure that the example package is specified inclass2.as