Hi,
I’m trying to get a simple threading example working using OpenFL and FlashDevelop targeting Flash player 12.0.
As I understand, as of Flash Player 11.4, adobe has introduced threading so I’ve been trying to get this line working in FlashDevelop.
var w:Worker = WorkerDomain.current.createWorker( flash.Lib.current.loaderInfo.bytes );
But whenever I try running, it give me this error in the output:
[Fault] exception, information=VerifyError: Error #1014: Class flash.system::Worker could not be found.
I have double checked and I have definitely imported both the Worker and WorkerDomain classes
import flash.system.Worker;
import flash.system.WorkerDomain;
Anyone have any ideas on how to make it run?