Topic: How to move thumbs and caption up?
Hi, How do I move the thumbs nav and caption up so that the caption sits on the baseline of the main large image?
Cheers.
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer-Pro v1 → How to move thumbs and caption up?
Hi, How do I move the thumbs nav and caption up so that the caption sits on the baseline of the main large image?
Cheers.
this should get you started
in StageManager.as
//to locate it under the main image
//this works for thumbs on left, haven't test other set ups. This aslo locates it 100 px to left edge of //image, you may want to center it, based on image width
//around line 260
mCaption_mc.txtText._width = mThumbArea.width;
mCaption_mc._x = thumbX;
mCaption_mc._y = thumbY + mThumbArea.height +mThumbArea.navHeight + Thumb.padding;
mCaption2_mc.txtText._width = mImageArea.width - 100;
mCaption2_mc._x = thumbX + mThumbArea.width + Thumb.padding + 100;
mCaption2_mc._y = imgY + imgH;
That done the trick, Thanks!
Anyone test the code or develop a solution for placaing the thumbs UNDER the image?
Set 'navPosition' to 'bottom' in the XML options: http://www.airtightinteractive.com/simp … tions.html
It always helps to read the documentation :)
Oops! I already have the thumbs under the image. It was 2:00 am and the lack of sleep obviously made me stupid. What I meant to ask was:
1) How do I move the thumbs and caption up?
The code listed in this thread was for thumbs on the left, NOT bottom.
Also:
2) How do I center the caption below the thumbs?
3) How do I move the caption up closer to the thumbs?
SimpleViewer Forum → SimpleViewer-Pro v1 → How to move thumbs and caption up?
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.