Topic: How can I get image size
I was wondering if ( and how I can get image size) when using fixed layout
Within a set of images listed in the same xml gallery, some of the images have different widths. I would like to adjust the X setting of the caption box to always align under the right edge of the image, regardless of differing width.
This is the line of code I am looking at in the StageManager.as
mCaption_mc._x = Options.imageAreaWidth-100;
Using the following adjustments I have the caption aligned to the right but based on the fixed number as written in the Options.as so it does not shift with the varying width.
I have looked at the code in ImageArea.as that realigns the arrow buttons and was hoping I could achieve something simlilar with the mCaption_mc
mBackBtn.setBtnPosn(imgx + w - 100,430);
I am a bit stuck and would really appreciate if someone might be able to point me in the right direction