Share Posted February 3, 2017 Hi, Sorry if my topic is stupid but is there a way to do something like this : var asset:ImageLoader = new ImageLoader ( assetUrl, { name:assetName } ); if ( myVar == true ) { asset.scaleMode= "proportionalInside"; } else { asset.scaleMode= "proportionalOutside"; } asset.load(); Link to comment Share on other sites More sharing options...
Share Posted February 4, 2017 Please try asset.vars.scaleMode="proportionalOutside" 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now