Share Posted December 5, 2012 I always use import com.greensock.*; import com.greensock.easing.*; in every frame wher I need use Greensock Can I use only one time and remain active for all frames? I am using Flash CS 5.5 with AS2 Thanks for support Link to comment Share on other sites More sharing options...
Share Posted December 5, 2012 WIth AS2, yes you need to import the classes you are using on each frame. Don't worry, this won't increase the filesize of your swf. This is just the way Flash works, you can't really work around it. Link to comment Share on other sites More sharing options...
Author Share Posted December 5, 2012 Ok, thanks, I goto use a include for no repeat the codes, thanks for support 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