Jump to content
GreenSock

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

Import Greensock Library once for whole project

Recommended Posts

Hello, is there a way to include greensock tweenmax library one time in a core file and have every subsequently included swf inherit this library instead of having to also include it to runs its own code?

 

Thanks!

Link to comment
Share on other sites

Technically you can do this, yes, with getDefinitionByName() in AS3 but the down side is that it's kinda cumbersome and you don't get the benefit of code hinting and compile time error checking, etc. Another option is an RSL (Runtime Shared Library) but I haven't done much work with those - Google should be able to help ya :)

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