Topic: Dynamic caption position based upon image width

Is there a way to position the caption dynamically based upon the size of the image in the gallery.

There are two image sizes, 576 x 440 and 440 x 576. The caption should align to the bottom left of each of the gallery images.

Currently, with fixed layout positioning, the caption always appears at:
static var captionX:Number = 170; //X posn of Title text
static var captionY:Number = 460; ///Y posn of Title text

Thank you,
Plush

Re: Dynamic caption position based upon image width

When using a Fixed Layout, the position of each and every caption will be determined by the captionX and captionY settings.
To align the captions to the bottom left of each main image, you would need to set both fixedLayout and captionUnderThumbs to 'false' in the 'Options.as' file.

Steven Speirs
SimpleViewer Support Team.