Jump to content
Search Community

Can you move a img inside the crop?

junky test
Moderator Tag

Recommended Posts

is there a way to position a loaded image inside the crop? for instance:

 

var image2:LoaderCore = LoaderMax.parse(xml.page[2].img[0].@src.toString(), {name:"image2",container:this, noCache:false, width:145, height:stage.stageHeight, scaleMode:"proportionalOutside", hAlign:"center", vAlign:"center", crop:true});

 

And what I want to do is put the hAlign:"center"-145

Is there a way to do that?

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