Share Posted December 13, 2012 Hello, I have a subfolder and greensock in a top folder Is it possible load greensock using import com.greensock.*; ? I try with ../ but no working thanks for help me Link to comment Share on other sites More sharing options...
Share Posted December 13, 2012 You can put the com folder (which contains the greensock folder) anywhere you like on your computer. You can't use / in the import statement though. You need to go into your ActionScript Settings and tell Flash where the folder is (if it isn't directly next to your fla) Check out this article: http://active.tutsplus.com/tutorials/workflow/how-to-use-an-external-library-in-your-flash-projects/ Take note of the section titled: How to Set a Project or Document-Level Classpath Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now