Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Wait

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

  • Wait

    Is it possable to have a page just "wait" insted of Sleeping?

  • #2
    Re: Wait

    You mean do something after a certain amount of time, without freezing up the interface?

    The only way to do that is using the MP3 player's On Progress event as a pseudo 1 Hz timer.
    --[[ Indigo Rose Software Developer ]]

    Comment


    • #3
      Re: Wait

      Hum...this maybe something for our future upgrades

      Comment


      • #4
        Re: Wait

        Can you explain this alittle more?

        Comment


        • #5
          Re: Wait

          See this thread.
          --[[ Indigo Rose Software Developer ]]

          Comment


          • #6
            Re: Wait

            I tried this on page initialize
            %myvariable% = 0
            While (%myvariable% <= 50)
            %myvariable% = Evaluate (%myvariable% + 1)
            END WHILE
            Page.Jump ("Page 2")

            This does not work. Am I missing something? I was hoping this would make a count and wait without sleeping the system.

            Comment


            • #7
              Re: Wait

              Nope. That's a busy while.

              What you want to do is either use a short video, AVI or flash file, and use its "On Finish" style event.

              Or, use a silent MP3, and use the On Progress event.

              Like the example in that thread I linked to above...
              --[[ Indigo Rose Software Developer ]]

              Comment


              • #8
                Re: Wait

                neat but I have something different in mind. My project involves a video of an interview with powepoint slides with text. The only way to get around the sleep issue with that is making the slides another avi. Or am I wrong? this project will be the death of me!

                Comment


                • #9
                  Re: Wait

                  Yes, you're wrong. [img]/ubbthreads/images/icons/smile.gif[/img] Just use the MP3 method.
                  --[[ Indigo Rose Software Developer ]]

                  Comment


                  • #10
                    Re: Wait

                    Hey Lorne!
                    I see no MP3 in your example. How are you doing this? All I want to do is allow my credit screen (end screen) to hold for say... 5 sec. and still allow the end user to click the www. to get access to my web site. Sorry, hold my hand alittle longer on this.

                    Bruce

                    Comment


                    • #11
                      Re: Wait

                      Clicking on the "Load" text object loads an MP3.

                      The actions you want to see are on the MP3 player's "On Progress" event. (Project > MP3 Player)

                      This example is a bit advanced for what was asked, but it really isn't that complicated. While an MP3 is playing, the actions on the "On Progress" event will occur every second or so. Without freezing the application, I might add.

                      So play a silent MP3, put some actions on the "On Progress" event, maybe even counting the seconds by adding 1 to a variable each time, then use an IF action to wait for that variable to reach a specific number, and do whateverr you want to do at that point.
                      --[[ Indigo Rose Software Developer ]]

                      Comment

                      Working...
                      X