From the category archives:

GreenSock Tweening Platform Tips

This movie requires Flash Player 9

I’m thrilled to introduce to you my AS3 GrowAndColorizeItem class. Can you guess what it does? :) Come take a peak inside and I’ll show you how easy it is to implement in your own projects.

[read more…]

{ 9 comments }

This movie requires Flash Player 9

The swf above illustrates 32 BlitMasks running simultaneously. The slick performance absolutely stomps any other method available for moving so many bitmaps at the same time. Silky, smooth and totally seamless!

Remember those days of trying to do a seamless scrolling loop in Flash? You would make 2 copies of a Movie Clip and move them both across the screen only to painstakingly have to offset the whole mess to perform a seamless loop?

GreenSock’s BlitMask wrap feature ends all that. Learn how to get started with BlitMasks and enhance Flash performance with this amazing new tool.

[read more…]

{ 15 comments }

I had 20 minutes to kill last night while waiting for Google Analytics to update. I asked myself,

Self, wouldn’t it be fun to just play around and try to hammer the crap out of the Flash Player?

This movie requires Flash Player 9

I replied, “yes”.

[read more…]

{ 5 comments }

This movie requires Flash Player 9

Here I have a mash-up of 3 very useful techniques:

Create an array of all children inside any Movie Clip or DisplayObjectContainer
Shuffle that array
Animate all the items in that array in sequence

And oh yeah, no instance names.

[read more…]

{ 16 comments }

This movie requires Flash Player 9

Just wanted to provide you guys with a sound starting point for building grids and more importantly animating them in clever ways. I’m going to do a quick rundown in the video and leave you with a few files to poke around in. I’m sure you will find a few ways to implement these strategies into your own projects.

[read more…]

{ 18 comments }


In continuing this image loading series, I would like to show you how you can create an XMLLoader that loads a single XML file that contains all your ImageLoader data. Once the XML loads, the ImageLoaders will automatically load. This is one of the most powerful tools in the whole GreenSock family.

[read more…]

{ 14 comments }

This movie requires Flash Player 9

I’m pleased to present the first 2 parts of my first series in my Loadermax series. Yes, you read that correctly, or at least I typed it correctly:) We are going to start learning about LoaderMax by walking through a few examples of how to load images with the LoaderMax ImageLoader. In this post we will go through:

  1. Part 1: Loading a single image and tracking its progress
  2. Part 2: Loading multiple images and tracking the total and individual progress

Part 3: Loading multiple images from an XML file will come out in a few days.

I encourage you to sit back and absorb all the content in the videos,text and links provided. The core methods, properties and events of LoaderMax that we are looking at will be used in many of the tutorials that follow.

Enjoy!

[read more…]

{ 21 comments }

LoaderMax vs Native AS3 Loader: Exhibit A

by carl schooff on July 27, 2011 · View Comments

in LoaderMax

Here it is folks, just a little intro-teaser to get you excited about all the fun we are going to have loading external assets with GreenSock’s LoaderMax. Today I’m just going to give you a little background and a startling code comparison to show you how much you can streamline the wildly verbose native AS3 Loader.

This movie requires Flash Player 9

Consider the behavior of the above swf.

  • It loads an external image
  • It tracks the image’s load progress
  • It responds to the completion of the load
  • It sets the registration point to be in the center (for symmetric scaling)
  • It smoothes the bitmap so that it doesn’t get all nasty-jittery when scaled
  • It performs a lovely alpha and scale-from-center tween

Come inside to see exactly how neat and concise your code can be when loading images with all these behaviors and features.
[read more…]

{ 6 comments }

This movie requires Flash Player 9

I’m going to show you how to make a super simple sound toggle with ActionsScript 3. GreenSock’s MP3Loader and Volume Plugin drastically minimize the amount of code you need to worry about. You’ll be in and out of here in a matter of minutes. No Sound(), SoundTransform(), SoundChannel() or even conditional statements to deal with. Its super clean.

[read more…]

{ 6 comments }

This movie requires Flash Player 9

Here’s a snorkl.tv first, a wide look at the benefits of using Object Oriented Programming in your ActionScript 3 projects. For me, the best way to learn is to tear apart something that already works. I’m honored to expose to you the inner workings of the fantastically mystical GreenSock Homepage Animation.

[read more…]

{ 32 comments }