[mtasc] Multi-Threading in Flash

Guillaume Démurgé guildem at hotmail.com
Mon Jan 9 16:35:29 CET 2006


Hi everybody !

I'm searching an answer on the net but nothing appears : does Flash (and 
Mtasc) has a class or functions to do Threads or equivalent ? How can i 
reproduce this code...

class X {
  public X() {
    new Thread(this.A);
    new Thread(this.B);
    WaitThreads();
  }
  private function A() {
    //todo
  }
  private function B() {
    //todo
  }
}

...in Flash, and compile it with Mtasc ?

Thanks for your answer (or a link to a tutorial if you have)

Guillaume






More information about the mtasc mailing list