Quote Originally Posted by munna
I am not sure if its the perfect solution, but just an idea.

When the event starts, start a timer with some interval for timeout and then at every time out increment your progress bar a little. At the end of the event make your progress 100% and then stop the timer.
But in this case how will i know the time period of the event.. now i start a timer with 1 second and increment the progress bar to 5 % every second.. But suppose my event ends in 5 seconds, by that time my progress bar had reached 20 % and is on the 25%... now as my event ends, the bar would jump to 100% abruptly..
Is this what u meant... if yes, then it would not be a smooth approach though definitely a solution.. if not, then sorry i couldnt understand it properly.. could u give me some eg for the same...

Thanking you,
with regards,

Kapil