Visit SlideShowPro.net  Community Forums
SlideShowPro Support Wiki
  

Back
Products

ThumbGrid


Using ThumbGrid without Director

Additional support

  1. Community forums
  2. Email support staff

Company

  1. Products
  2. About SlideShowPro
  3. News
  4. Follow SlideShowPro on Twitter
ThumbGrid

imageScale

imageScale [read-write]

ThumbGrid Version: ThumbGrid 1 and 2
Language Version: ActionScript 3.0
Player Version: Flash Player 9.0.0.0

Description

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

Implementation

public function get imageScale():String
public function set imageScale(value:String):void

Example

The following example changes Album screen scaling to "Proportional".

my_tg.imageScale = "Proportional";


Page last modified by tdominey on May 24, 2010, at 09:54 AM
© 2011 SlideShowPro. All Rights Reserved.