[Laszlo-checkins] r12505 - openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf
bargull@openlaszlo.org
bargull at openlaszlo.org
Fri Jan 16 07:13:52 PST 2009
Author: bargull
Date: 2009-01-16 07:13:49 -0800 (Fri, 16 Jan 2009)
New Revision: 12505
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
Log:
Change 20090113-bargull-H58 by bargull at dell--p4--2-53 on 2009-01-13 22:30:55
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: small swf8 media changes
New Features:
Bugs Fixed: LPP-7527, LPP-7529
Technical Reviewer: max
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
LzMakeLoadSprite: call "stopTrackPlay" to unregister all delegates (LPP-7527)
LzSprite: update "owner.playing" when playback has stopped (LPP-7529), also call "stopTrackPlay" in "destroy" to clean up delegates
Tests:
testcases at bugreports
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as 2009-01-16 13:59:15 UTC (rev 12504)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as 2009-01-16 15:13:49 UTC (rev 12505)
@@ -1,7 +1,7 @@
/**
* LzMakeLoadSprite.as
*
- * @copyright Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
+ * @copyright Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
* Use is subject to license terms.
*
* @topic Kernel
@@ -158,6 +158,7 @@
*/
LzMakeLoadSprite.unload = function () {
this.loader.unload(this.loader.mc);
+ this.stopTrackPlay();
}
/**
@@ -214,9 +215,9 @@
this.errorDel.unregisterAll();
if ('timeoutDel' in this)
this.timeoutDel.unregisterAll();
-
+
this.loader.unload(this.loader.mc);
// call shadowed destroy()
- this.___destroy();
+ this.___destroy();
}
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as 2009-01-16 13:59:15 UTC (rev 12504)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/kernel/swf/LzSprite.as 2009-01-16 15:13:49 UTC (rev 12505)
@@ -2,7 +2,7 @@
/**
* LzSprite.as
*
- * @copyright Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved.
+ * @copyright Copyright 2001-2009 Laszlo Systems, Inc. All Rights Reserved.
* Use is subject to license terms.
*
* @topic Kernel
@@ -882,16 +882,15 @@
// To keep delegates from resurrecting us. See LzDelegate#execute
this.__LZdeleted = true;
- if (this.updatePlayDel) {
- this.updatePlayDel.unregisterAll();
- delete this.updatePlayDel;
- }
-
+ this.stopTrackPlay();
+ delete this.updatePlayDel;
+ delete this.checkPlayStatusDel;
+
if (this.doQueuedDel) {
this.doQueuedDel.unregisterAll();
delete this.doQueuedDel;
}
-
+
if (this._moDel) {
this._moDel.unregisterAll();
delete this._moDel;
@@ -1353,6 +1352,7 @@
if (this.updatePlayDel)
this.updatePlayDel.unregisterAll();
this.__LZtracking = false;
+ this.owner.playing = false;
}
}
More information about the Laszlo-checkins
mailing list