[Laszlo-checkins] r9507 - in openlaszlo/trunk/demos/lzpix: . classes

bargull@openlaszlo.org bargull at openlaszlo.org
Sat Jun 7 08:19:59 PDT 2008


Author: bargull
Date: 2008-06-07 08:19:54 -0700 (Sat, 07 Jun 2008)
New Revision: 9507

Modified:
   openlaszlo/trunk/demos/lzpix/app.lzx
   openlaszlo/trunk/demos/lzpix/classes.lzx
   openlaszlo/trunk/demos/lzpix/classes/search.lzx
Log:
Change 20080607-bargull-r9C by bargull at dell--p4--2-53 on 2008-06-07 12:40:57
    in /home/Admin/src/svn/openlaszlo/trunk
    for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: lzpix compile errors

New Features:

Bugs Fixed: LPP-6136

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

Documentation:

Release Notes:

Details:
Just fix the errors reported by the flex-compiler.
    

Tests:
Compile lzpix in swf9




Modified: openlaszlo/trunk/demos/lzpix/app.lzx
===================================================================
--- openlaszlo/trunk/demos/lzpix/app.lzx	2008-06-07 13:20:36 UTC (rev 9506)
+++ openlaszlo/trunk/demos/lzpix/app.lzx	2008-06-07 15:19:54 UTC (rev 9507)
@@ -266,7 +266,7 @@
                 this.doneDel.register( lc, "oninit" );
             </method>
                         
-            <method name="initialReplicationDone" args="ignore">
+            <method name="initialReplicationDone" args="ignore=null">
                 <![CDATA[
                 //this.setAttribute( "initialDone", true );
                 //Debug.write("initialReplicationDone");
@@ -293,7 +293,7 @@
 
 
             <selectionmanager name="selman" toggle="false">
-                <method name="isMultiSelect">
+                <method name="isMultiSelect" args="s" >
                     return LzKeys.isKeyDown( "control" ) || LzKeys.isKeyDown( "shift" ) ||
                            parent.isRectangleSelecting;
                 </method>
@@ -302,7 +302,7 @@
             <attribute name="isRectangleSelecting" value="false"/>
             <method name="selectInRectangle" args="x1, y1, x2, y2">
                 <![CDATA[
-                if ( !selman.isMultiSelect() ){
+                if ( !selman.isMultiSelect(null) ){
                     selman.clearSelection();
                 }
                 this.setAttribute( "isRectangleSelecting", true );
@@ -333,7 +333,7 @@
                 <!-- this is what should trigger photo editing -->
                 
                 <handler name="onplainclick">
-                    if ( parent.selman.isMultiSelect() ){
+                    if ( parent.selman.isMultiSelect(null) ){
                         // Debug.write( this , " other click." );
                         parent.selman.select( this );
                         
@@ -381,7 +381,7 @@
 
                 <attribute name="isselected" value="false"/>
 
-                <method name="setSelected" args="s:Boolean">
+                <method name="setSelected" args="s">
                     this.borderbg.setBGColor(s ? "0xFFD800" : "0xFFFFFF"); 
                     this.setAttribute( "isselected" , s );
                     this.intparent.setOpacity( s ? .5 : 1 );
@@ -411,7 +411,7 @@
                     this.update();
                 </method>
 
-                <method name="update" args="ignore">
+                <method name="update" args="ignore=null">
                     <![CDATA[
                     var mx = this.parent.getMouse( 'x' );
                     var my = this.parent.getMouse( 'y' );
@@ -585,7 +585,7 @@
     
     <search name="srch" id="gSearch" width="156" x="475" y="315">
         <attribute name="firsttime" value="true"/>
-        <method name="sendsearch" args="ignore">
+        <method name="sendsearch" args="ignore=null">
             photoscontainer.setAttribute('visible', false); 
             //Debug.write("sendsearch: photoscontainer.lyt.lock called");
             photoscontainer.lyt.isgrid = true;

Modified: openlaszlo/trunk/demos/lzpix/classes/search.lzx
===================================================================
--- openlaszlo/trunk/demos/lzpix/classes/search.lzx	2008-06-07 13:20:36 UTC (rev 9506)
+++ openlaszlo/trunk/demos/lzpix/classes/search.lzx	2008-06-07 15:19:54 UTC (rev 9507)
@@ -57,7 +57,7 @@
         <!-- Only search for photos with a creative commons license:
             http://creativecommons.org/licenses/by/2.0/
         -->
-        <method name="sendsearch">
+        <method name="sendsearch" args="ignore=null">
             var tags = this.getText();
             var argobj;
             if (tags == "interesting") {

Modified: openlaszlo/trunk/demos/lzpix/classes.lzx
===================================================================
--- openlaszlo/trunk/demos/lzpix/classes.lzx	2008-06-07 13:20:36 UTC (rev 9506)
+++ openlaszlo/trunk/demos/lzpix/classes.lzx	2008-06-07 15:19:54 UTC (rev 9507)
@@ -111,7 +111,7 @@
               controlled by the layout change their size in the layout axis, or
               their visibility. However it can be called directly to force the
               layout to update -->
-        <method name="update">
+        <method name="update" args="ignore=null">
             <![CDATA[
             if ( this.locked ) return;
             this.locked = true;
@@ -184,7 +184,7 @@
               controlled by the layout change their size , or when the size of
               layout's immediateparent changes. However it can be called directly
               to force the layout to update -->
-       <method name="update">
+       <method name="update" args="ignore=null">
             <![CDATA[
             if ( this.locked ) return;
             this.locked = true;
@@ -290,7 +290,7 @@
               controlled by the layout change their size , or when the size of
               layout's immediateparent changes. However it can be called directly
               to force the layout to update -->
-       <method name="update">
+       <method name="update" args="ignore=null" >
             <![CDATA[
             if ( this.locked ) return;
             this.locked = true;



More information about the Laszlo-checkins mailing list