篆体字网 > 知识库

greensock

来源:篆体字网 2023-12-25 23:32:09 作者:篆字君

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 @greensock on Twitter to get notified when new videos are posted.

Source files

Download the source files here

Videos

2:19

1.0) Introduction

Part 1 of the Flash on the Beach 2010 presentation

2:08

1.1) Demo explained

Queue loading, pause, resume, max connections, priority

2:20

2.0) Overview: structure

List of core classes, plus learn to instantiate via the “new” keyword

1:18

2.1) Creating a simple ImageLoader

Use the simplest syntax and get an image loaded quickly

4:56

3.0) Overview: common properties and methods

Learn about the common properties and methods among loader types, optimize for interaction, set properties using simple inline object

3:11

3.1) ImageLoader enhanced

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

3:22

4.0) Events and strongly typed vars (slides)

These slides explain the event system in LoaderMax and introduce the optional data classes like ImageLoaderVars, LoaderMaxVars, etc..

6:15

4.1) Events and strongly typed vars (code example)

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.

1:24

5.0) parse() auto-creates loaders (slides)

These slides explain how to simply feed an array of paths to LoaderMax.parse() to automatically crete a queue of loaders.

3:39

5.1) parse() auto-creates loaders (code example)

This video demonstrates the use of the parse() method to automatically instantiate loaders from an array of filenames.

2:13

6.0) Get loader or content & play video (slides)

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.

5:51

6.1) Get loader or content & play video (code example)

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.


Comments (16)

Subscribe


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

上一篇:八十年代经典电影

下一篇:officeXXXXX

相关阅读