Topic: Arrows to move to next picture

Is there any way to move those arrows so its outside of the picture box or can the arrow design?
Thanks

Re: Arrows to move to next picture

If you are able to edit the ActionScript that comes with SimpleViewer Pro 1.x you can change the position of the arrows. You can design custom arrows by editing the FLA.

Mike Richards
SimpleViewer Support Team.

Re: Arrows to move to next picture

I opened the flv file in flash but wasn't sure how to change the arrow... all the different layers but I'll give a try again and again.. see what happens.

Thanks Mike

Re: Arrows to move to next picture

I've looked into the action script and only found the X, Y position of the thumb arrows and not the image arrows.

Which option am I suppose to change to move the arrows on the main image?

Thanks

Re: Arrows to move to next picture

What you need to change is not in the options.as file it is in on of the other Actonscript docs, ImageArea.as, you will need to change the position of mBackBtn and mNextBtn

Mike Richards
SimpleViewer Support Team.

Re: Arrows to move to next picture

thanks Mike

I guess I'll have to republish the flv file after I'm done?

Thanks

Re: Arrows to move to next picture

Yes after making the changes to ActonScript files or the FLA you will need to republish the swf.

Mike Richards
SimpleViewer Support Team.

Re: Arrows to move to next picture

I've changed the actionscript ImageArea but it doesn't change my position of the arrow.

Do I need to change the fixedLayout  = True?

                mBackBtn.setHitPosn(0,0); - changed to 40, 50)
        mBackBtn.setHitSize(mWidth/3+fw,mHeight);       
        mNextBtn.setHitPosn(mWidth*2/3-fw,0);
        mNextBtn.setHitSize(mWidth/3+ fw,mHeight);
        mPlayBtn.setHitPosn(mWidth/3+fw,0);
        mPlayBtn.setHitSize(mWidth/3,mHeight);

Re: Arrows to move to next picture

You will need to change the code in a couple of places, hit position is the clickable area, but it is invisible. You will also have to change the arrow position. I don't have the code in front of me at the moment so I can't look, iIf you don't it I'll have access later.

Mike Richards
SimpleViewer Support Team.

Re: Arrows to move to next picture

Ok, in addition to changing the setHitPosn you are also going to need to change setBtnPosn.

mBackBtn.setBtnPosn(imgx - mBackBtn.clickShift,imgy + h/2  - btnW/2);        
mNextBtn.setBtnPosn(imgx + w - btnW,imgy + h/2  - btnW/2);    
Mike Richards
SimpleViewer Support Team.