PDA

View Full Version : WindowSWF panel won't update


animatorgeek
02-01-2010, 10:31 PM
I'm trying to create a progress bar for my JSFL scripts. I tried doing it through the XMLUI interface but I couldn't figure out a way to do it through that. Then I tried creating a WindowSWF panel that my would register callback functions to update its progress bar, but that's run into a snag as well. While a JSFL command is running it seems that any WindowSWF panels just stop running. They'll never enter a new frame or update their display, though the callback function seems to work fine. The upshot is that after the JSFL command is done the progress bar says 100%, since that was the last value I sent to the callback function.

So here's the question: does anyone know a way to get the WindowSWF panel to keep updating while a JSFL command is running?

-David

ssbuchan
03-17-2011, 08:40 PM
Hi,

I'm having the exact same problem.

Did you ever come across a solution?

Thanks

Scott

mythprod
03-21-2011, 09:01 AM
You could, at intervals, command your script to tell your panel where it's at. For example, every 5 seconds or every 2-5% progress, hit a jsfl function that calls your panel's function and updates its progress bar.