Author: hqm
Date: 2007-08-27 17:35:33 -0700 (Mon, 27 Aug 2007)
New Revision: 6259

Modified:
   openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
Log:
Change 20070827-hqm-4 by [EMAIL PROTECTED] on 2007-08-27 20:32:51 EDT
    in /cygdrive/c/users/hqm/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: fix for media loader bug

New Features:

Bugs Fixed: LPP-1952
Bug: LPP-1952

Technical Reviewer: max (pending)
QA Reviewer: jcrowley (pending)
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details:

see bug report


Tests:

test case in bug report




Modified: 
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
===================================================================
--- 
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as   
    2007-08-27 23:41:43 UTC (rev 6258)
+++ 
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as   
    2007-08-28 00:35:33 UTC (rev 6259)
@@ -193,7 +193,7 @@
     this.owner.__LZvizLoad = true; 
     this.owner.__LZupdateShown();
     this.owner.resourceload({width: this.resourcewidth, height: 
this.resourceheight, resource: this.resource, skiponload: false});
-    this.owner.reevaluateSize( );      
+    this.owner.reevaluateSize( );   
     //if (this.owner.onload) this.owner.onload.sendEvent( this.loader.mc );
 
     //Debug.write('Sprite.updateAfterLoad', mc, this.resourcewidth, 
this.resourceheight, this.resource, this.owner.resource, this.owner, this.x);
@@ -205,7 +205,7 @@
   * @access private
   */
 LzMakeLoadSprite.unload = function () {
-    this.loader.unload();
+    this.loader.unload( this.loader.mc );
 }
 
 /**
@@ -263,7 +263,7 @@
     if ('timeoutDel' in this)
          this.timeoutDel.unregisterAll();
  
-    this.loader.unload( );
+    this.loader.unload( this.loader.mc );
 
     // call shadowed destroy()
     this.___destroy( recur ); 


_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins

Reply via email to