Jump to content
Search Community

Changing MinHeight, MaxHeight of AutoFitArea class

edfirefly test
Moderator Tag

Recommended Posts

First off, thanks for the AutoFitArea class, it's been great for scaling images full screen for my projects. I was wondering once you assign a DisplayObject to an AutoFitArea, is there a way to change the minHeight, maxHeight parameters? So after attaching the DO, can you change the minHeight parameters?

 

area.attach(img_mc, ScaleMode.PROPORTIONAL_INSIDE, AlignMode.CENTER, AlignMode.CENTER, 410, 410, 400, 534);

( I want to change the minHeight parameter...)

 

Any help would be be appreciated. Thank you,

 

Eddie

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.
×
×
  • Create New...