Jump to content
GreenSock

Need help?

Check out the rich documentation, active forums, the FAQs, or even request premium support. We've got you covered.

Documentation

Every method and property of every tool has been documented in rich detail. And the docs completely searchable.

View the docs

Popular GSAP Docs


Forums

Get answers from experts in the community, or grow your skills by poking around and reading the discussions. Share your knowledge here too. It's a great place to get connected and find answers.

Visit the forums

Popular Forums


FAQS

Do I need to worry about garabage collection in the JavaScript version of GSAP? What happens when a tween finishes?

No need to worry. Tweens and timelines are automatically made eligible for garbage collection (gc) when appropriate (typically when they finish but if you maintain a reference to an instance so that you can restart it later, for example, it won’t be gc’d out from under you). Basically the system manages gc for you and generally cleans up after itself.

Will the bonus plugins suddenly stop working when my membership expires?

Nope. We don't inject any "phone home" code that tracks usage or causes the plugins to suddenly stop working on a certain date. Hopefully our tools prove so valuable and profitable to you that you'll gladly renew every year to keep getting access to the goodies.

If I get an annual membership, can I upgrade to a permanent one later?

Sure. You can upgrade directly from within your GreenSock account anytime. Contact us if you need help.

How do I get a license?

Just sign up for a “Business Green” Club GreenSock membership at the level that corresponds to the number of developers in your organization. That’s it!

When determining the appropriate membership level, do I need to include only full-time developers? What if my company doesn’t have any?

You must include all freelancers, consultants, subcontractors, etc. in addition to full-time developers.

is cabbage gross?

Yes.

What if I need to send variables to the server along with my request in a loader?

The first parameter of the various loaders (ImageLoader, XMLLoader, SWFLoader, MP3Loader, etc.) accepts either a simple String URL or a URLRequest. So if you want to pass data to the server, simply construct a URLRequest accordingly, like:

var request:URLRequest = new URLRequest("http://www.yourDomain.com/whatever.php");
var data:URLVariables = new URLVariables();
data.exampleSessionId = new Date().getTime();
data.exampleUserLabel = "label1";
request.data = data;
request.method = URLRequestMethod.POST;
var loader:ImageLoader = new ImageLoader(request, {name:"image1"});

Which browsers work with the JavaScript version of GSAP?

GSAP itself is pure JavaScript and should work in virtually ALL browsers. GSAP wasn’t intended to solve all browser incompatibilities, but it does implement wizardry for critical features like opacity, transforms (rotation, scaleX, scaleY, skewX, skewY, x, and y), and transformOrigin so those should work in all major browsers even back to IE6. Firefox doesn’t support backgroundPositionX or backgroundPositionY, so those specific properties won’t work but backgroundPosition will for virtually all browsers. There is NOT a predetermined list of css properties that you can tween – the platform will attempt to tween ANY property you pass in. If it is numeric, it will tween it. If it isn’t numeric and it isn’t a recognized special property, CSSPlugin will just set the property to the value you provide (without tweening it). So, for example, if you try to tween to display:"inline", that isn’t a tweenable property but it will still be set accordingly during the tween, so feel free to use that to your advantage.

Premium Support

GreenSock offers premium support to businesses and developers on a per-case basis.

Premium Support
×