Jump to content
GreenSock

rizal72

LoaderMax: ImageLoader new features...

Recommended Posts

Hello Jack: im my personal CustomLoader Class, i've added the possibility to center the image (or the content) loaded and to scale it with various scale modes (i.e. ScaleMode.SCALE_CROP or ScaleMode.MAINTAIN_ASPECT_RATIO), even a crop mode with a mask applied to the image: perhaps it would be a good feature in your ImageLoader class too ?

Link to comment
Share on other sites

Actually, my AutoFitArea class already does all of that and more :) I'm trying to keep the classes relatively lean, mean, and targeted at the specific job of loading. It should be very easy, however, to just use AutoFitArea in your onComplete so that it does precisely what you're asking. http://www.greensock.com/autofitarea/

Link to comment
Share on other sites

you're right! I've already used it ;)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×