Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
ramonjosegn

load greensock in a subfolder, it is possible?

Recommended Posts

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×