Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Worker debugging failed

Community Beginner ,
Dec 10, 2013 Dec 10, 2013

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?

TOPICS
ActionScript
404
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 10, 2013 Dec 10, 2013
LATEST

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines