Re: [flexcoders] VideoDisplay lies about bytesLoaded

2008-04-20 Thread Nayan Savla

Hi Dennis,

I would just listen for progress event of the videodisplay component  
and get my bytesLoaded/bytesTotal from that.


It has always worked correctly for me.

Nayan

On Apr 19, 2008, at 8:56 PM, Dennis Falling wrote:

I'm using a changewatcher to observe the bytesLoaded attribute of a  
videoDisplay and update the UI accordingly.  This works well most of  
the time, but once during each of the longer videos, bytesLoaded  
will jump, then continue loading.


bytesLoaded / bytesTotal:
3186688/4971903
4971903/4971903 -- wrong
1900544/4971903
4247552/4971903
4971903/4971903

Does anyone know what could be causing this?  Is there a better way  
to do this than using a changewatcher?


Thanks.






[flexcoders] VideoDisplay lies about bytesLoaded

2008-04-19 Thread Dennis Falling
I'm using a changewatcher to observe the bytesLoaded attribute of a
videoDisplay and update the UI accordingly.  This works well most of the
time, but once during each of the longer videos, bytesLoaded will jump, then
continue loading.

bytesLoaded / bytesTotal:
3186688/4971903
4971903/4971903 -- wrong
1900544/4971903
4247552/4971903
4971903/4971903

Does anyone know what could be causing this?  Is there a better way to do
this than using a changewatcher?

Thanks.