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
You are not logged in. Please login or register.
SimpleViewer Forum → SimpleViewer-Pro v1 → 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
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.
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
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
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
thanks Mike
I guess I'll have to republish the flv file after I'm done?
Thanks
Yes after making the changes to ActonScript files or the FLA you will need to republish the swf.
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);
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.
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);
SimpleViewer Forum → SimpleViewer-Pro v1 → Arrows to move to next picture
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 5 official extensions. Copyright © 2003–2009 PunBB.