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

Progress bar as flash extension possible?

Participant ,
Nov 29, 2012 Nov 29, 2012

Hi folks,

Did someone successfully try to realize the progress bar as a flash extension?

i tried to realize a progress bar as a flash extension, but the flash ui with the progress bar freezes, because my time consuming process ssems to block the flash ui.

In the first step I moved the time consuming algorithm into a separated thread. At first I used a dummy time consuming algorithm to keep the tests simple and the progress bar worked fine. Then I replaced the dummy algorithm with the real algorithm, but the algorithm did not work. I could not invoke Suite functions of the Illustratok SDK. I assume that after the plugin main thread had invoked my worker thread and returned, some resources are released.

In the next step I tried to move the flash extension handling to a separate thread, but then loading the extension by the SDKPlugPlug hangs. I assume that the extension handling is an event based process. Since my new created thread has no event loop, the extension can not communicate with my thread.

Many thanks!

TOPICS
SDK
1.1K
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
Adobe
Enthusiast ,
Jan 25, 2013 Jan 25, 2013
LATEST

Why did you not handle the progress bar in your c++ plugin? Actually, using the progress bar available in the sAIUser suite is working pretty well.

Then, you won't to take care about the UI thread, and you won't have to handle communication between your plugin and your extension.

That's what I will do.

Thomas.

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