Actionscript Classpath Problem

Out of context: Reply #1

  • Started
  • Last post
  • 29 Responses
  • juskin0

    well here is the thing, your importing all the classes in the gs directory via your classpath, however on line 7 your importing it in a path, something.otherSomething.*; I think you need to get rid of your last classpath, or just import gs.*;

    personally I have created a folder in my home folder called class, inside that folder, I have two folders AS2 and AS3 and I put all of my classes in there, then all you have to do is set the classpath once, and home/class/AS3 then becomes the root for importing classes, with it set up like this, I would import like such:

    import gs.*;

    hope this makes sense...

View thread