
imageScale [read-write]
ThumbGrid Version: ThumbGrid 1 and 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Controls how Album screen images are downscaled / upscaled to fit the thumbnail image dimensions.
Acceptable values are "Proportional" and "Crop to Fit."
When set to "Crop to Fit," if an image is a different size it's scaled until it fills the target area, then cropped to fit. When set to "Proportional", images are proportionally scaled to fit the target area, but are not cropped. With the latter option, if imageResize is set to "On," the thumbnail container resizes to the dimensions of the proportionally scaled image.
The default value is "Crop to Fit."
public function get imageScale():String
public function set imageScale(value:String):void
The following example changes Album screen scaling to "Proportional".
my_tg.imageScale = "Proportional";