[Laszlo-dev] loadratio == framesloadratio?
denis at fireflydesign.com
Wed Mar 15 15:01:22 EST 2006
For some reason it just started working as expected. So "never mind"...
Denis Bohm wrote:
> I'm trying to give the user feedback during a fairly long swf download.
> I'm using loadratio to show feedback via a progress bar. The problem is
> that I don't see any progress for 15 seconds then the progress bar goes
> from 0 to 100% in 5 seconds. My server log and my network monitor say
> that the data was streaming over at a reasonably constant rate for 20
> seconds. So it looks like the loadratio isn't reporting the percentage
> of bytes loaded as the documentation indicates. This is a show stopper
> for my users, because they think that nothing is happening.
> I compared this behavior to using framesloadratio and it seems to give
> the same data (it reports 15 seconds of not frames, then 5 seconds of
> So I looked at the source for LzMediaLoader.testLoad and it seems to set
> the loadratio in one block, then in some conditions set it again but
> this time to the framesloadratio. There is a comment that says "a swf
> loaded from another domain will be sandboxed. no load information is
> available;". But in my case the swf is from the same domain.
> Any idea why I'm not getting the correct loadratio progress reported?
> Any tips on how to track this problem down? I have the OpenLaszlo
> source download and built so I can debug...
> Laszlo-dev mailing list
> Laszlo-dev at openlaszlo.org
More information about the Laszlo-dev