Im currently getting the following error:
“ReferenceError: Error #1065: Variable TweenLite is not defined.”
I might think its because tweenlite isnt imported correctly, so some path issue – but tried a few things, and still the same.
Basically I have my main.fla, where I import a class:
path: main.fla / classes / com / myfolder / contact / ContactForm.as
AS: import classes.com.myfolder.contact.ContactForm;
In this package I try and import the tweenlite librabry with the following:
package classes.com.myfolder.contact
{
import com.greensock.TweenLite;
import com.greensock.easing.Quad;
....
}
path to tweenlite: main.fla / classes / com / greensock
Any ideas ?
You have two options.
I would go with #2 as it’s convention to name packages after URLs, plus if someone else uses your code (or you switch computers) you won’t have to set the class path all over again.
Your new layout would look like this: