Jump to content
Search Community

scaleMode:"proportionalInside" help aligning the image

junky test
Moderator Tag

Recommended Posts

{container:this, name:"img" + i, x:10, y:10, alpha:0, visible:false, noCache:true,width:512, height:350, scaleMode:"proportionalInside"});

 

So when I set the width and height and then the scaleMode my loaded asset always centers in the prescribed width and height. Is there a way to tell it to align left or right and top or bottom?

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...