moock.org is supported in part by


February 08, 2005

ProgressBar "gotcha"

i just noticed this undocumented limitation with the v2 ProgressBar component, and i figured it was worth sharing...

when a ProgressBar's mode property is set to "event" (the default) it won't broadcast complete() or progress() events. if you want to register for events from a ProgressBar make sure its mode is set to "polled" or "manual". if you are using the ProgressBar in "event" mode then you should register for events with the ProgressBar's source rather than with the ProgressBar itself.

have fun preloading...

Posted by moock at February 8, 2005 06:12 PM