New topics: Your Pet, IOU, Baby IQ, The Poisons, Birther II, Games, Future Power

Welcome to the Tech Space!

Check out our Hardware

Skip to end of metadata
Go to start of metadata
  • http://matthewfabb.com/blog/2010/11/11/multithreading-is-finally-coming-to-flash/ - Discussion of multithreading for flash from November 2010
  • Update September 2011 - http://matthewfabb.com/blog/2011/09/02/multithreading-in-flash-update/
    • for now it’s basically the Web Workers API from JavaScript.
    • shared-nothing isolation model.
    • From presentation by Arno Gourdol - http://arno.org/arnotify/
    • var myWorker:Worker = new Worker("myworker.swf");
      myWorker.addEventListener(WorkerExitEvent.WORKER_EXIT, function(e:WorkerExitEvent) { trace("worker finished") });
      myWorker.load({myMessage: "world"});
      
      myworker.swf
      trace("Hello " + Worker.parameters.myMessage)
      
      [Entrypoint]
      class MyWorkerDef {
          trace("Hello " + Worker.parameters.myMessage);
          Worker.parameters.myConnection.call("talkback", null, "all fine on the worker front");
      };
      var myWorker:Worker = new Worker(MyWorkerDef);
      var c:WorkerConnection = new WorkerConnection();
      
      c.client = { talkback: function(message) { trace("worker said: " + message) }
      
      myWorker.load({myMessage: "world", myConnection: c});
      
      Note
      
      

How to do multithreading today - http://cookbooks.adobe.com/post_Is_multi_threading_possible_in_Flash_or_ActionScri-12026.html

Governor multithreading script engine - http://www.emanueleferonato.com/2010/04/22/governor-multithreading-script-engine-written-in-as3/

How to fake multithreading - http://www.over00.com/?p=1240

keywords: “multithreading in Flash”, “concurrency in Flash”, “threads in Flash” and literally hundreds of other variations.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.