Announcement

Collapse
No announcement yet.

Slide show - help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Slide show - help

    Friends

    I am not a programmer guy and sorry for the simples question but, after trying for a while I decided to ask for help .

    I need my slide show ( 5 frames ) jump to another page when finished. He just need to play one time the 5 frames and at the end of the presentation .the page needs to jump to another page.
    This slide show will be played manually by clicking in a button and not automaticaly .

    Can someone help me with whis small code ?

    Thank you in advance

  • #2
    You need to add a line of code to jump to the desired page, in the On Finished event script of the SlideShow object, as shown here:
    Click image for larger version

Name:	SNAP-2013-09-20-02.png
Views:	1
Size:	53.7 KB
ID:	284074
    Ulrich

    Comment


    • #3
      Hi Friend

      It should work this way but for any strange reason , nothing happend . I have used exaclty what you have showed me .
      Any idea of what is happening ?

      Comment


      • #4
        We cannot guess what you are doing differently. Please post your project so we can see it and locate the error.

        Ulrich

        Comment


        • #5
          Thank you Ulrich for helping me with this minor issue . Below is the link to download the project! I have added screens of the commands used for slide and button on the project page . Hope you can find a solution .

          Comment


          • #6
            https://app.box.com/shared/static/q7...j3gxyv6tpe.rar

            Comment


            • #7
              If you want to jump automatically to a new page, then - using a slideshow object - you would normally use its timer, starting it with a button (SlideShow.Play()), etc. From your project, I see that you want to control everything manually, and in this case you also need to control what the "Next" button should do. Here is an example:

              Code:
              [COLOR="#0000FF"]if[/COLOR] (SlideShow[COLOR="#FF0000"].[/COLOR]GetCurrentSlide([COLOR="#800080"]"SlideShow1"[/COLOR]) [COLOR="#FF0000"]==[/COLOR] SlideShow[COLOR="#FF0000"].[/COLOR]GetSlideCount([COLOR="#800080"]"SlideShow1"[/COLOR])) [COLOR="#0000FF"]then[/COLOR]
                [COLOR="#008000"]-- no more slides to show[/COLOR]
                Page[COLOR="#FF0000"].[/COLOR]Jump([COLOR="#800080"]"Page2"[/COLOR])[COLOR="#FF0000"];[/COLOR]
              [COLOR="#0000FF"]else[/COLOR]
                [COLOR="#008000"]-- show next slide[/COLOR]
                SlideShow[COLOR="#FF0000"].[/COLOR]Navigate([COLOR="#800080"]"SlideShow1"[/COLOR][COLOR="#FF0000"],[/COLOR] SLIDESHOW_NEXT)[COLOR="#FF0000"];[/COLOR]
              [COLOR="#0000FF"]end[/COLOR]
              Ulrich

              Comment


              • #8
                Hi Ulrich

                I must say thank you a lot ! It was exaclty what I was looking for ! It has solved my problem 100% !

                Best for you .

                Robb

                Comment


                • #9
                  @Ulrich : What would we do without you...

                  That's something I could use myself and is very handy to know...Best choice in software I ever made was buying this product....Its pretty much capable of doing everything you need one way or another :yes

                  Comment

                  Working...
                  X