Topic: how to move the position of the gallery?

i have created a flash website with an image gallery, the sv gallery loads into a loader, however it's not loading in the correct place. it's too far to the top and i cannot find where to move it down.

any ideas?

Re: how to move the position of the gallery?

It is not in the correct place with in the html or the swf? The actionscript options allow you to position inside the swf and you can use CSS to position inside the html. I would be willing to take a quick look if you post your URL.

For more info see:
http://www.airtightinteractive.com/simp … r/faq.html
http://www.airtightinteractive.com/simp … ation.html
http://www.airtightinteractive.com/simp … tions.html
http://www.airtightinteractive.com/simp … tions.html

Mike Richards
SimpleViewer Support Team.

Re: how to move the position of the gallery?

bah!!!!!!!!

thanks for your reply.

i'm having issues positioning inside an swf.
i tried to post an image but i havent made 5 posts or more, so i cant, however let's hope this works:

wX3 575dpi[dot]com / want.jpg

what i get when i publish the sv swf is at the top, what i get when i load it into my movie clip is at the bottom.

which AS file do i edit to change the position?

Re: how to move the position of the gallery?

In option.as I would try fixed layout see actionscript options towards the bottom of the page.

Something like this, but your numbers will be different obviously...

    static var fixedLayout:Boolean = true; 

    static var imageAreaX:Number = 0; //X posn of Image Area
    static var imageAreaY:Number = 0; //Y posn of Image Area
    static var imageAreaWidth:Number = 516; //width of Image Area
    static var imageAreaHeight:Number = 516; //height of Image Area    
    static var thumbAreaX:Number = 645; //X posn of Thumb Area
    static var thumbAreaY:Number = 85; //Y posn of Thumb Area         
    static var backThumbArrowX:Number = -4; //X posn of Back Thumb Arrow (relative to top left of Thumb Area)
    static var backThumbArrowY:Number = 220; //Y posn of Back Thumb Arrow (relative to top left of Thumb Area)
    static var nextThumbArrowX:Number = 110; //X posn of Next Thumb Arrow (relative to top left of Thumb Area)
    static var nextThumbArrowY:Number = 220; //Y posn of Next Thumb Arrow (relative to top left of Thumb Area)    
    static var titleX:Number = -25; //X posn of Title text
    static var titleY:Number = 520; //Y posn of Title text
    static var titleWidth:Number = 480; //width of Title text
    static var titleHeight:Number = 28; //height of Title text        
    static var captionX:Number = 10; //X posn of Title text
    static var captionY:Number = 520; //Y posn of Title text
    static var captionWidth:Number = 480; //width of Title text
    static var captionHeight:Number = 50; //height of Title text    
    static var downLoadLinkX:Number = 600; //X posn of download link
    static var downloadLinkY:Number = 600; //Y posn of download link
Mike Richards
SimpleViewer Support Team.

Re: how to move the position of the gallery?

thanks for that,
i've managed to get everything to align ok, but now the next/previous arrows vanish!

when the thumbs were at the top of the window, it was fine, but the moment i moved them down, the arrows went.

////////////////////////
    //Fixed Layout Positions (OPTIONAL)
    //These options are only used if fixedLayout is set to true
    //ThumbArea width and Height are determined by columns, rows, thumbnailWidth, thumbnailHeight and thumbnailPadding
    static var imageAreaX:Number = 140; //X posn of Image Area
    static var imageAreaY:Number = 102; //Y posn of Image Area
    static var imageAreaWidth:Number = 480; //width of Image Area
    static var imageAreaHeight:Number = 480; //height of Image Area    
    static var thumbAreaX:Number = 230; //X posn of Thumb Area
    static var thumbAreaY:Number = 570; //Y posn of Thumb Area         
    static var backThumbArrowX:Number = -70; //X posn of Back Thumb Arrow (relative to top left of Thumb Area)
    static var backThumbArrowY:Number = 550; //Y posn of Back Thumb Arrow (relative to top left of Thumb Area)
    static var nextThumbArrowX:Number = 295; //X posn of Next Thumb Arrow (relative to top left of Thumb Area)
    static var nextThumbArrowY:Number = 550; //Y posn of Next Thumb Arrow (relative to top left of Thumb Area)    
    static var titleX:Number = 10; //X posn of Title text
    static var titleY:Number = 500; //Y posn of Title text
    static var titleWidth:Number = 480; //width of Title text
    static var titleHeight:Number = 20; //height of Title text        
    static var captionX:Number = 10; //X posn of Title text
    static var captionY:Number = 520; ///Y posn of Title text
    static var captionWidth:Number = 480; //width of Title text
    static var captionHeight:Number = 50; //height of Title text    
    static var downLoadLinkX:Number = 600; //X posn of download link
    static var downloadLinkY:Number = 600; //Y posn of download link
    //////////////////////

if that means anything to you

Re: how to move the position of the gallery?

They may be under something... I would try moving them around and see if they show up.

Mike Richards
SimpleViewer Support Team.

Re: how to move the position of the gallery?

this is really starting to annoy me.

it's not that the arrows move, they simply disappear.

if i move the thumbnails up, they show, move them back down and they vanish.

wX3 575dpi[dot]com / need.jpg


i'm thinking about giving up with this product. i'm not sure why it doesn't sit right in the first place, but all this moving stuff around is giving me a headache and getting me nowhere pretty fast.

Re: how to move the position of the gallery?

hi,

i'm not sure why it doesn't sit right in the first place

How does it not sit right?

if i move the thumbnails up, they show, move them back down and they vanish.

Thumb Arrow positions are relative to the top left of the thumb area. In your case the arrows are being moved off the bottom of the stage.

static var backThumbArrowY:Number = 550; //Y posn of Back Thumb Arrow (relative to top left of Thumb Area) 
Felix Turner
SimpleViewer Support Team.

Re: how to move the position of the gallery?

big_smile my mistake, i forgot it was relative to the top left of the thumbnail - which would explain why they keep moving off the screen.

i'll play about with the figures tomorrow and see what i get.

what i meant by it not sitting right in the first place was when i loaded the external swf into the flash movie clip, it was too top heavy rather than sitting at the bottom of the mc or somewhere in the middle.

All the other swf's load fine, it's just this one that's giving me a hassle. Even after removing the resize code or TL stuff, it still wasnt having it.

Re: how to move the position of the gallery?

when i loaded the external swf into the flash movie clip, it was too top heavy rather than sitting at the bottom of the mc or somewhere in the middle.

This is probably caused by the 'maxImageHeight' being too big. Check the FAQ, Q17: http://www.airtightinteractive.com/simp … r/faq.html

Felix Turner
SimpleViewer Support Team.