Copy link to clipboard
Copied
Hi, all~~~
I'm curious about the new Worker feature. I create a same project copy from language reference in FB. Then, I think the BackgroundWorker class should be pre-compiled, so I add the BackgroundWorker.as as a runnable application in ActionScript Applications of project properties. 2nd, the original code embed the swf file from ../workerswfs/, I don't have that folder, and for convenience, I change the embed source locale to ../bin-debug/. Build no compile-time errors, run/debugging no runtime errors. But I can't see worker run in background, it just only display 'Background worker started'. And no progress bar moving, no console information displayed. Even I change the "startCount" command to a smaller number, it show the same result.
Where am I wrong?
Copy link to clipboard
Copied
You should keep your source files in /src/, not backreference to bin-debug.
Aside that can you share some code on what you're trying to achieve? It seems like a simple counter for a test but seeing what you're coding and knowing the project structure is important for a faster answer.
What is your target platform, this matters a lot. Is it desktop or mobile?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now