5 Replies Latest reply on Apr 21, 2006 11:31 AM by floyd242

    calling setInterval one after the other

    floyd242
      Hello,

      I'm not sure if this is possible but I'm trying to fiqure out a way to have multiple SetInterval functions. what I'm trying to do is have text highlight a sentence using the setinterval function than after the number of chars needed are highlighted I want to be able to clear the interval and then start with the next sentence through another setInterval.

      The program I'm trying to write is somewhat of a text to speech. I have a audio clip and a static text box. the audio is supposed to sync with the highlight of the text. the only way i could fiqure to generate the sync with a highlight was through setSelection as a loop.

      I hope i'm making sense as I'm new to this type of actionscript.

      here is where I am currently at.