Topic: Disable next-button at last image

Hi.

If i press the next-button at the final image the slideshow start over and there is no way i can go back to the last picture without going through them all again.

How do i solve this? I want either the previous-button to always be available for clicking, or the slideshow to stop at the final image.

I hope you all get what i am after. smile

Thanks in advance.

Re: Disable next-button at last image

Is enableLooping set to false?

http://www.simpleviewer.net/simpleviewe … tions.html

Mike Richards
SimpleViewer Support Team.

Re: Disable next-button at last image

static var enableLooping = false;?

Re: Disable next-button at last image

Yep that's it, so it's set to false?

Mike Richards
SimpleViewer Support Team.

Re: Disable next-button at last image

miker wrote:

Yep that's it, so it's set to false?

Just wanted to make sure i wrote it correctly. I can't get it to work. Perhaps it doesn't work in v.1.3? I think that's the version i use. It still loops at the end of the slideshow. neutral

All of my other options has either :Number or :Boolean after the setting. You sure i did it right? smile

Last edited by selma (2010-01-23 18:53:58)

Re: Disable next-button at last image

static var enableLooping:Boolean = false;

enableLooping was introduced in version 1.9

How do I tell which version of SimpleViewer I have?

For SimpleViewer standard version, right click the SWF to see the version number. For SimpleViewer-Pro, check the readme.html file in the top level of the pro download for the version number.

If you have a older version of SimpleViewer 1.x you can use your download link to download a newer version of 1.x, if you don't have the email with a download link you can request a new one here.

Mike Richards
SimpleViewer Support Team.