Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2005
    Posts
    3

    start.timer error

    hello everyone.

    i have an error. i am trying to set a timer on my first page of my autoplay output file. I am trying to set it for 5 seconds and am currently using the following lines of code.

    Page.StartTimer(5000);
    Page.Jump("Intro");

    When i run the project, the first page jumps to my intro page, but it does not wait the 5000 milliseconds. "Intro" is my pagename for my second page.

    Any reasons as to why? How do i correct this? Thanks for the help.

    ra

  2. #2
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    When you call Page.StartTimer(5000), you are setting the interval for the timer at 5 seconds. In 5 seconds (the interval) the On Timer event will fire, then it will fire every 5 seconds thereafter until you stop the timer, or leave the page.

    If you want to jump to a new page after 5 seconds, put the Page.Jump in the On Timer event.

  3. #3
    Join Date
    Jun 2002
    Location
    Israel
    Posts
    1,843
    Also, if you don't want/need ANY interaction in your app during these 5 seconds, you could use the Application.Sleep(5) action.

    Yossi

Similar Threads

  1. Bug? Http download error not recorded by GetHTTPErrorInfo()
    By Ken Gartner in forum TrueUpdate 2.0
    Replies: 1
    Last Post: 03-16-2005, 07:56 AM
  2. ZipExtract "callback" error
    By Darwin in forum AutoPlay Media Studio 5.0
    Replies: 2
    Last Post: 02-21-2005, 06:34 PM
  3. Function: Blowfish Encrypt/Decrypt Strings
    By Lorne in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-31-2004, 03:16 PM
  4. Cannot create directory error.
    By jassing in forum Setup Factory 6.0
    Replies: 3
    Last Post: 03-10-2003, 01:37 PM
  5. SUF6.0.0.2 -- installer hangs.
    By jassing in forum Setup Factory 6.0
    Replies: 4
    Last Post: 12-19-2001, 11:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts