Jump to content
GreenSock

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

I can no import Greensock in each frame?

Recommended Posts

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

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

Ok, thanks, I goto use a include for no repeat the codes, thanks for support

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.
×