Video Tutorial: Meet LoaderMax

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. Rich is one of the most well-known authors and speakers in the Flash community, so it is quite an honor to have him doing the presentation. His most recent book is Learning ActionScript 3.0 (second edition) which I highly recommend. All videos are recorded in HD.

Here are the first 6 parts (each broken into 2 videos) in the series which will ultimately consist of about 12 parts (24 videos). Keep checking back for more, and make sure you follow @tweenlite on Twitter to get notified when new videos are posted.

Source files

Download the source files here

Videos

1.0) Introduction
2:19

Part 1 of the Flash on the Beach 2010 presentation
1.1) Demo explained
2:08

Queue loading, pause, resume, max connections, priority
2.0) Overview: structure
2:20

List of core classes, plus learn to instantiate via the “new” keyword
2.1) Creating a simple ImageLoader
1:18

Use the simplest syntax and get an image loaded quickly
3.0) Overview: common properties and methods
4:56

Learn about the common properties and methods among loader types, optimize for interaction, set properties using simple inline object
3.1) ImageLoader enhanced
3:11

Take ImageLoader to the next level by setting convenient properties with the “vars” parameter, auto-add to display list, center the registration point, scale and align
4.0) Events and strongly typed vars (slides)
3:22

These slides explain the event system in LoaderMax and introduce the optional data classes like ImageLoaderVars, LoaderMaxVars, etc..
4.1) Events and strongly typed vars (code example)
6:15

Create event listeners simply by passing a handler function name to a loader at the time of instantiation. Use a strongly typed data class, instead of an object, to customize a loader–taking advantage of method chaining in the process.
5.0) parse() auto-creates loaders (slides)
1:24

These slides explain how to simply feed an array of paths to LoaderMax.parse() to automatically crete a queue of loaders.
5.1) parse() auto-creates loaders (code example)
3:39

This video demonstrates the use of the parse() method to automatically instantiate loaders from an array of filenames.
6.0) Get loader or content and play video (slides)
2:13

These slides explain how to use the static getLoader() and getContent() methods to find your loader/content from anywhere. Also learn how to control playback of videos and MP3 files.
6.1) Get loader or content and play video (code example)
5:51

This video shows how to reference a specific loader or its content using getLoader() and getContent(), and how to add simple video control using nothing but VideoLoader’s built-in methods and properties.

(more to come…)

More resources

Don’t miss the LoaderMax Tips & Tricks and Learning Resources pages. Looking for the LoaderMax class files? See the main LoaderMax page.

Is this helpful?

These videos actually take a lot of time and effort to put together – I’d love to hear if folks are finding them to be helpful or not. Post your feedback below.

  • Twitter
  • Facebook
  • Digg
  • StumbleUpon
  • del.icio.us
  • Yahoo! Buzz
  • Google Bookmarks
  • RSS

Comments (16) RSS

Posted by Patrick Mullady on November 12, 2010

FIRST AGAIN!
Thanks for the videos guys. Totally helpful! I’m already looking forward to the next batch. Rich I just ordered the 2nd edition of your book on Amazon. The first one was really helpful with my migration from AS2!
You guys really kick ass!
Thanks again

Posted by DJ Girish on November 16, 2010

this is exactly what i was looking for. Thanks for the post.

Posted by Doug Charnley on November 17, 2010

Can I just say that LoaderMax is absolutely awesome, especially when concerning videos.

I’m currently working on a project with tonnes of bitmap assets, external swfs and videos and I would say the implementation of LoaderMax in the project has cut development time in half at least.

Great code, detailed documentation and fantastic support videos like these are what make Greensock great, my hats off to you gents, yet again.

Posted by Aaron James on November 22, 2010

Hey,

I am on a huge project with BBDO/Proximity working on a project called the ultimate Family reunion (Check it at http://www.togetherisamazing.com) And on this project I made extensive use of LoaderMax. I have worked with it and after some fighting really to say it is a great product, a lot lighter than Bulkloader (which still has a few methods I prefer of LoaderMax) but I find both together work in a seamless integration. Where this product shines is in long heavy loads of Thumbnails and larger images. I used via the Facebook connect API to retrieve user thumbs and photos from their facebook albums and it was great and easy to implement. In the end it works great and easy to control, and easy to clean up because no one likes to leave all those listeners hanging around.

Anyhow great job and I will send in some info on a few changes I think could be added to take this over the top soon.

Cheers My brother’s in FLASH ARMS,
Aaron James

Posted by Tahir Ahmed on November 23, 2010

LoaderMax is just great.

Posted by Joao Goncalves on December 1, 2010

Great Rich, after seeing you presenting this in FOTB, now I really get it. Thanks for the videos and demo files.

@joaopapin

Posted by Devs meet LoaderMax! | Geek Gone Nomad on January 27, 2011

[...] Home: http://www.greensock.com/loadermax/ Video Series: http://www.greensock.com/loadermax-video/ Tips and Tricks: http://www.greensock.com/loadermax-tips/ Learning and Resources: [...]

Posted by Victor Kimuyu on March 2, 2011

I have done some experiments with your classes and i have to say they are really simple implementations of what would otherwise be very complex flash actionscript coding. Which is a good thing. Being an AS3 newbie and with no prior programming experience, would you say that using the gs at this stage is detrimental to holistic learning of the AS3 language and might reatrd my learning?
Somebody please give me an honest response.

Posted by Jack on March 2, 2011

No, Victor, using GreenSock tools like TweenLite/Max, LoaderMax, etc. shouldn’t be detrimental to your learning process. In fact, I think quite the opposite. One of the more discouraging things for beginners (especially designers) is the fact that it can take so much effort to do so little initially. Attention spans only last so long, and if you’re not seeing results, you can start to lose interest. Plus, the GreenSock tools are AS3 just like the built-in classes from Adobe (Tween, Loader, URLLoader, etc.). Either way, you need to learn an API and work with AS3. A lot of people just think GreenSock tools are more capable and easier to use than the basic classes that ship with Flash. If you’d prefer to use the more basic ones, go for it. But the trade off is that you need to be mindful of several bugs (especially in loading) that exist in Adobe’s stuff (which LoaderMax works around) and you’ll probably be writing a lot more code to do the same thing.

When it comes to tweening especially, almost no well-respected professional developers use Adobe’s Tween class. Virtually everyone uses something like TweenLite or TweenMax. So why burn a bunch of time learning the API and getting used to a class that you’ll eventually dump anyway when you realize its limitations and move to industry standards? Not that it’s bad or wrong – just seems a bit wasteful to me.

I know of several professional educators who make their classes use GreenSock tools, so that indicates (to me at least) that they must not be not detrimental to the learning process (after all, these guys get paid to teach ActionScript). Of course my opinion is biased, so hopefully others will feel free to chime in here and offer their opinions.

Posted by Alex G. on March 10, 2011

I’m loving these videos! I can’t wait to see what’s coming next. GreenSock rocks. Upstanding tools is all I have gotten from GreenSock packages.

I started with ActionScript 1 when flash 5 came out in 2000. Animated gifs was all the web had at that time in terms of animation. There are 4 special moments in my relation with flash: AS2 release, AS3 release, when BitmapData class came out with flash 8… and when I create the first Tween using GreenSock tools.

Thanks for the hard work,

A

Posted by Calvinalibra on March 17, 2011

This is great, perfectly understandable tutorials that you really grasp whatever it is you’re trying to do. Excellent!

Posted by TheCosmonaut on June 10, 2011

LOVE these videos. I’m dying to see one where you dig into the XMLLoader class and get into all the crazy stuff to be done there…

Posted by jack_wang on September 27, 2011

The LoaderMax is so perfect as Tween, help me a lot, the dispose for all loading and event listeners are so usefull to manage the memory !

Posted by Brian Rush on November 28, 2011

Thanks so much for these! They really help me to get started and take away that overwhelming feeling after looking at the download.

I definitely second the XML video production next!

Posted by snick on December 10, 2011

LoaderMax is a revelation for those who have experience using the built-in Adobe classes!
Thanks for all your hard work Jack.

Posted by Nick on December 15, 2011

Thank you! These videos were very helpful. Well done!

To download the code, you must agree to the following license:

Copyright 2006-2012, GreenSock, Inc.

"NO CHARGE" NON-EXCLUSIVE SOFTWARE LICENSE AGREEMENT
-----------------------------------------------------------------------------
PLAIN ENGLISH SUMMARY:

  1. You may use the code at no charge in commercial or non-commercial web sites, games, components, applications, and other software as long as end users are not charged a fee of any kind to use your product or gain access to any part of it. If your client pays you a one-time fee to create the site/product, that's perfectly fine and qualifies under the "no charge" license. If end users are charged a usage/access/license fee, please sign up for a corporate Club GreenSock membership which comes with a special commercial license granting you permission to do so. See http://www.greensock.com/club/ for details.
  2. Use at your own risk. No warranties are offered.
  3. Please respect the copyright.

-----------------------------------------------------------------------------

LEGALESE:

This is a legal agreement between you (either an individual or a single entity) and GreenSock, Inc. ("GREENSOCK") for the proprietary GreenSock ActionScript code known as TweenLite, TweenMax, TweenNano, TimelineLite, TimelineMax, LoaderMax, and other code that is available for download at http://www.greensock.com (this code and documentation, as well as any updates which may at GREENSOCK's sole discretion be provided to you from time to time, are referred to in this Agreement as "PROGRAM") By downloading, copying, or otherwise using the PROGRAM, you agree to the terms and conditions of this Agreement. If you do not agree to the terms and conditions of this Agreement, please do not download or use the PROGRAM.

I. LICENSE
A. Subject to the terms and conditions of this Agreement, GREENSOCK hereby grants you a non-exclusive, worldwide, non-transferable right to use the PROGRAM in web sites, games, components and other software applications for which the end user is NOT charged any fees. If you would like to use the code in a commercially licensed software product for which end users are charged a fee (either for usage or access), simply sign up for a corporate Club GreenSock membership at http://www.greensock.com/club/.

II. LIMITATION OF LICENSE AND RESTRICTIONS
A. You agree that you will not disclose, sell, rent, or license the PROGRAM's source code or any derivative works thereof to any third party without the prior written consent of GREENSOCK. Derivative works are defined as modifications that add substantive functionality to the PROGRAM and do not include bug fixes or other minor modifications required to operate the PROGRAM as originally intended. Distribution of the source code as part of your Work Product is acceptable so long as the recipients agree to the terms of this Agreement. You agree not to modify or delete GREENSOCK'S existing copyright notice located in the source code.

B. You may use, duplicate, and distribute the compiled object code as embedded in a Work Product created by you, either for your own use or for distribution to a third party so long as end users of the Work Product are not charged a fee for usage of or access to any portion of the Work Product. Please see http://www.greensock.com/licensing/ for descriptions of Work Products that qualify for the "No Charge" license.

III. CONSIDERATION
A. The license rights granted to you under this Agreement are at no charge, but only in the following circumstances: If on your own behalf or on behalf of a third party you incorporate the PROGRAM into a web site, game, software application, program or any component thereof (collectively, "Work Product"), which in the case of a web site, must be accessible to internet users without payment of a fee of any kind, and in the case of a software application, game, program or component, neither you nor anyone to whom you distribute the Work Product charges a user a fee of any kind to use such Work Product or application, game, program or component into which such Work Product is embedded. The foregoing shall apply regardless of whether you are paid to create such Work Product.

B. In the event your intended use of the PROGRAM does not meet the criteria for the "no charge" license rights set forth in the immediately preceding paragraph, then you are not licensed to use the PROGRAM under this Agreement and must license the PROGRAM under GREENSOCK'S separate fee-based Software License Agreement which is granted to corporate Club GreenSock members (see http://www.greensock.com/club/ for details).

IV. TITLE AND OWNERSHIP
A. The PROGRAM is licensed, not sold, and is protected by copyright laws and international treaty provisions. You acknowledge that no title to the intellectual property in the PROGRAM is transferred to you. You further acknowledge that title and full ownership rights to the PROGRAM, including all intellectual property rights therein, will remain the exclusive property of GREENSOCK and you will not acquire any rights to the PROGRAM except as expressly set forth in this Agreement. You agree that any copies of the PROGRAM you make will contain the same proprietary notices which appear on and in the PROGRAM. You agree that GREENSOCK may identify you as a licensee unless you make a written request otherwise. GREENSOCK hereby grants to you the right to disclose that your product, game, software application, component, or other Work Product makes use of GREENSOCK code (for example, "Powered by TweenLite").

V. DISCLAIMER OF WARRANTY AND LIMITATION OF LIABILITY
A. THE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. GREENSOCK DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE PROGRAM WILL MEET YOUR REQUIREMENTS OR THAT OPERATION WILL BE UNINTERRUPTED OR ERROR FREE. GREENSOCK shall not be liable for special, indirect, incidental, or consequential damages with respect to any claim on account of or arising from this Agreement or use of the PROGRAM, even if GREENSOCK has been or is hereafter advised of the possibility of such damages. Because some states do not allow certain exclusions or limitations on implied warranties or of liability for consequential or incidental damages, the above exclusions may not apply to you. In no event, however, will GREENSOCK be liable to you, under any theory of recovery, in an amount in excess of $250. Notwithstanding anything else in this agreement, you agree to indemnify GREENSOCK, its assignees, and licensees, and hold each of them harmless from and against any and all claims, demands, losses, damages, liabilities, costs, and expenses, including legal fees arising out of or resulting from any negligent act or omission by you.

B. GREENSOCK may, at its sole discretion, provide support services related to the PROGRAM, but has no obligation to do so.

VI. TERMINATION
If you at any time fail to abide by the terms of this Agreement, GREENSOCK shall have the right to immediately terminate the license granted herein, require the return or destruction of all copies of the PROGRAM from you and certification in writing as to such return or destruction, and pursue any other legal or equitable remedies available.

VII. MISCELLANEOUS
A. This Agreement shall be construed in accordance with the laws of the State of Illinois. In the event of any dispute between you and GREENSOCK with respect to this Agreement, we both agree that if we cannot resolve the dispute in good faith discussion, either of us may submit the dispute for resolution to arbitration with the American Arbitration Association before a single arbitrator using the AAA Rules for Commercial Arbitration. The arbitrator's decision is final and can be enforced in any court with jurisdiction over such matters.

B. This agreement represents the complete and exclusive statement of the agreement between GREENSOCK and you and supersedes all prior agreements, proposals, representations and other communications, verbal or written, between them with respect to use of the program. This agreement may be modified only with the mutual written approval of authorized representatives of the parties.

C. The terms and conditions of this Agreement shall prevail notwithstanding any different, conflicting, or additional terms or conditions which may appear in any purchase order or other document submitted by you. You agree that such additional or inconsistent terms are deemed rejected by GREENSOCK.

D. GREENSOCK and you agree that any xerographically or electronically reproduced copy of this Agreement shall have the same legal force and effect as any copy bearing original signatures of the parties.

I'd like to learn how to get bonus plugins, update notifications, SVN access, and more.
To continue, you must agree to the following license: