Author: max
Date: 2007-08-17 15:22:51 -0700 (Fri, 17 Aug 2007)
New Revision: 6131

Modified:
   openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as
Log:
Change 20070817-maxcarlson-e by [EMAIL PROTECTED] on 2007-08-17 11:54:00 PDT
    in /Users/maxcarlson/openlaszlo/wafflecone
    for http://svn.openlaszlo.org/openlaszlo/branches/wafflecone

Summary: Fix stretches with clickable in swf

New Features:

Bugs Fixed: LPP-3726 - stretches breaks clickable in swf7/8

Technical Reviewer: promanik
QA Reviewer: hminsky
Doc Reviewer: (pending)

Documentation:

Release Notes:

Details: Update resource and button size after media is loaded.
    

Tests: See LPP-3726.



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-17 21:27:34 UTC (rev 6130)
+++ 
openlaszlo/branches/wafflecone/WEB-INF/lps/lfc/kernel/swf/LzMakeLoadSprite.as   
    2007-08-17 22:22:51 UTC (rev 6131)
@@ -174,6 +174,7 @@
     if ( this.totalframes > 1 ){
         this.checkPlayStatus();
     }
+    this.updateResourceSize(); 
     if ( this._setrescheight ){
         var yscale = this.height/this.resourceheight;
         this.__LZmovieClipRef._yscale = yscale * 100;
@@ -182,6 +183,10 @@
         var xscale =this.width/this.resourcewidth;
         this.__LZmovieClipRef._xscale = xscale * 100;
     }
+    if (this.setButtonSize)
+        this.setButtonSize( "height" , this.height );
+    if (this.setButtonSize)
+        this.setButtonSize( "width" , this.width );
 
     //Debug.write(xscale, yscale, this);
 


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

Reply via email to