6 Replies Latest reply on May 10, 2007 1:53 PM by Voltage Boy

    Creating new threads? Threading?

    Voltage Boy
      I would like to have a script run in the background while the user continues to interact with the user interface.

      Example:
      1) Perhaps an event such as EnterFrame would start a new thread, which we'll call Script X
      2) The user clicks a button, which toggles a global flag between true and false
      3) Script X continually checks the status of the global flag and depending on its status, continues to run or exits

      From what I understand, Lingo and Java Script are not a multi-threading language. Perhaps there are some other tricks you gurus know about that could point me in the right direction.