That's what it was before, and it never reached 0! Add a debug
statement after tout is declared and you'll see what I mean.
Henry Minsky wrote:
shouldn't it be
var tout = (lmc.loadtime + lmc.timeout) - ct ;
if (tout <= 0) ...
?
On Wed, Jul 9, 2008 at 7:13 PM, Max Carlson <[EMAIL PROTECTED]> wrote:
Change 20080709-maxcarlson-s by [EMAIL PROTECTED] on 2008-07-09 16:09:16 PDT
in /Users/maxcarlson/openlaszlo/trunk-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix ontimeout events for non-proxied media loads
Bugs Fixed: LPP-6640 - ontimeout events not firing for SOLO loaded media in
Flash
Technical Reviewer: hminsky
QA Reviewer: promanik
Details: Somehow, tout never was less than zero - it was always <=
lmc.timeout.
Tests: See LPP-6640
Files:
M WEB-INF/lps/lfc/kernel/swf/LzLoadQueue.as
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20080709-maxcarlson-s.tar
--
Regards,
Max Carlson
OpenLaszlo.org