Today marks the release of minor version updates to GSAP, both for HTML5 and Flash. Plus Draggable for HTML5 has received some significant updates as well. Here are the highlights…
A BlitMask is basically a rectangular Sprite that acts as a high-performance mask for a DisplayObject by caching a bitmap version of it and blitting only the pixels that should be visible at any given time, although its bitmapMode can be turned off to restore interactivity in the DisplayObject whenever you want. When scrolling very large images or text blocks, BlitMask can greatly improve performance, especially on mobile devices that have weaker processors.
ThrowPropsPlugin is a plugin for TweenLite and TweenMax that allows you to simply define an initial velocity for a property (or multiple properties) as well as optional maximum and/or minimum end values and then it will calculate the appropriate landing position and plot a smooth course based on the easing equation you define (Quad.easeOut by default, as set in TweenLite). This is perfect for flick-scrolling or animating things as though they are being thrown…
Having a hard time remembering all the special properties that you can define in your TweenLite or TweenMax “vars” parameters? I don’t blame you, especially with all the nifty plugins available. If you’d like to get the convenience of code hinting and improved debugging with strict data typing, you’ll love the new TweenLiteVars and TweenMaxVars classes. As of version 5.0, they have been completely rewritten to accommodate method chaining which greatly reduces the amount of code necessary (compared to previous versions).
If you’ve been wanting to try LoaderMax but you weren’t quite sure how it works or where to dive in, you’ve come to the right place. In this video tutorial series, Rich Shupe will walk you through the basics as well as some of the more advanced parts of the LoaderMax system. All videos are recorded in HD.
Although LoaderMax is intended to simplify loading in AS3, its rich feature set might make it a little intimidating at first. Most developers aren’t using it to its full potential. In addition to listing some tips and tricks here, I’ll also try to clear up a few common misperceptions. The list should grow over time, so keep checking back to learn more. If you have any tips to share, please do so in the comments section below. To get notified when new tips are added, feel free to follow @tweenlite on Twitter and make sure you sign up for a free GreenSock account. For some tweening tips & tricks, click here.
Hopefully you’ll find a few nuggets of wisdom here that bring your animation skills to the next level. The tips will cover all levels; beginner, intermediate and advanced. I’ll add to the list every so often and if you have any tips to share, please do so in the comments section below. To get notified when new tips are added, feel free to follow @tweenlite on Twitter and make sure you sign up for a free GreenSock account.
LoaderMax is a new AS3 loading system that does much more than just getting swf, mp3, css, video, image, text, binary, and xml files into your Flash application. It eats files for dinner, burps, and then asks for 2nds. And 3rds. Yet it’s surprisingly thin. In fact, it can be half the size of most other loading systems even though it delivers a bunch of unique capabilities, some of which you probably never knew you needed but won’t want to live without. Here are a few of the noteworthy features…