flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Line" <markl...@gmail.com>
Subject Wokers in library projects
Date Fri, 15 Mar 2013 14:06:07 GMT
Bit of a random question but I thought someone on here may know if it's


Has anyone managed to use AS3 workers with in a library project?


Currently I embed the worker with into the project (the default way Flash
builder tries to get add a worker).  I can't however use  the "embedded"
meta tag in a pure AS3 project.


For example this won't work for me: 




I experimented using  "Worker.current.isPrimordial" then creating a worker
from "worker = WorkerDomain.current.createWorker(this.loaderInfo.bytes);"


Although this.loaderInfo will only be valid if I've added the class to the
display list, as the worker I want to use is just for processing data I
don't really want to add it to the display list as it's a bit of a hack and
I'll have to clear up after it.


I'm compiling everything with Apache Flex 4.9 targeting fp 11.5 and air 3.5

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message