2 Replies Latest reply on Aug 7, 2007 7:49 AM by GeckoProgrammer

    getURL and SetInterval

      I made a button. It's for the user to go to my website. .5 seconds before it goes to my website, I want to display a goodbye message. I have all the code, but how do I stop it once it's launched the webpage? Right now, it launches a new page every .5 secs, but I only want it to load ONE page. I need to STOP it from launching the website every .5 seconds.


      on (release){
      text = "Have a nice day!";
      setInterval(secondFunction, 500);
      function secondFunction ()
      getURL(" http://web.isp.cz/student/s1899");

      Thanks in advance!