Closed GoogleCodeExporter closed 9 years ago
Since the new Flashplayer is supporting worker threads I don't think I'm going
to implement any kind of green threading. I suggest you just create a
workerthread and do the read and writing in them.
Original comment by ihatelivelyids
on 14 Oct 2012 at 2:57
Yeah, I see, maybe someday Workers will be usable enough to allow their usage,
now they are too buggy and uncomfortable to use (even simple AIR File API usage
throws the Security error while trying to read file from child worker).
Anyway, it's ok, I understand your point.
Original comment by dmitry....@gmail.com
on 14 Oct 2012 at 3:02
I haven't really tried out the Workers yet, so I can't really comment.
Have you checked out this little as3swf extension?
https://github.com/bortsen/worker-from-class
Seems quite elegant.
Original comment by ihatelivelyids
on 14 Oct 2012 at 3:24
Yeah, I've tried it and it doesn't works, but I used this one:
https://github.com/makc/worker-from-class works fine for me, it is almost the
same as WorkerDomain.current.createWorker(this.loaderInfo.bytes) though.
Original comment by dmitry....@gmail.com
on 14 Oct 2012 at 4:29
Original issue reported on code.google.com by
dmitry....@gmail.com
on 14 Oct 2012 at 1:56