
imageScaleGallery [read-write]
ThumbGrid Version: ThumbGrid 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0
Controls how Gallery 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 imageScaleGallery():String
public function set imageScaleGallery(value:String):void
The following example changes Gallery screen image scaling to "Proportional".
my_tg.imageScaleGallery = "Proportional";