views:

146

answers:

1

I have a directory structure as follows:

Projects ->
Libraries ->
 Box2d ->
  Collision->
  Common ->
  etc...
PlaneGame ->
 PlaneGame.fla
 main.as

Now I wish to import classes from Box2d but I cannot figure out how to do "up one level" which would be done like "../../something.example" in another language.

How can I include classes from inside the Box2d folder?

+1  A: 

If you were using FLash CS3, go to File -> Publish Settings.

Click on the Flash tab -> Click on the Settings button beside ActionScript version.

Then add your class path there. In your case, your class path should be something like "C:..\Libraries\Box2d"

David
Thanks for the speedy answer :)
Jesse Gibbs