You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openmeetings.apache.org by se...@apache.org on 2011/12/18 16:22:22 UTC

svn commit: r1220424 [6/10] - in /incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10: ./ base/ base/components/ base/components/button/ base/components/button/doc/ base/components/button/doc/lzx/ base/components/button/doc/l...

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/borderedInputtext.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/borderedInputtext.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/borderedInputtext.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/borderedInputtext.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,175 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="borderedInputtext" extends="view" bgcolor="$once{ canvas.basebgcolorizer }" >
+	<attribute name="width" value="200" type="size" />
+	<attribute name="height" value="18" type="size" />
+    <attribute name="tvalue" type="string" value="default"/>
+    <attribute name="sendchange" value="false" type="boolean" />
+    <attribute name="multiline" value="false"/>
+	<attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+	<method name="setLabelId" args="_labelid" >
+		this.labelid = _labelid;
+		this.setAttribute('text',canvas.getLabelName(this.labelid));
+	</method>
+    <attribute name="checkIsNumber" value="false" type="boolean" />
+    <attribute name="checkIsDouble" value="false" type="boolean" />
+    <attribute name="editable" value="true" setter="setEditable(editable)" type="boolean" />
+    <method name="setEditable" args="value">
+        this.editable=value;
+    	this.field.setEnabled(value);
+    </method>
+    <event name="onblur" />
+    <method name="setItemEnabled" args="value">
+    	this.field.setEnabled(value);
+    </method>    
+    <attribute name="maxlength" value="null" type="number"/>         	
+	<attribute name="text" type="string" value="" />
+		<!-- -->
+  <inputtext name="field" fontsize="10" text="${ this.parent.text }" x="1" y="1" bgcolor="0xFFFFFF" 
+  	multiline="$once{parent.multiline}" width="${ this.parent.width-2 }" height="${ this.parent.height-2 }" >
+  		<attribute name="preText" value="" type="string" />
+  		<handler name="onfocus">
+  			this.preText = this.getText();
+  		</handler>
+      	<handler name="onblur">
+      		var t = this.getText();
+      		if (this.parent.checkIsNumber){
+      			if ( isNaN( Number(t) ) ){
+      				if (this.parent.checkIsDouble){
+      					t="0.00";
+      				} else {
+      					t=this.preText;
+      				}
+      				this.setAttribute('text',t);
+      			}
+      		}
+            if (this.parent.sendchange) this.parent.parent.sendchange(this.parent,this.parent.tvalue,this.getText());
+            if (this.parent.onblur) this.parent.onblur.sendEvent();
+      	</handler>
+        <handler name="oninit">
+            this.setEnabled(this.parent.editable);
+        </handler>       	           
+	</inputtext>	   
+	 
+	<method name="getText">
+		return this.field.getText();
+	</method>
+	<method name="setText" args="txt">
+		this.setAttribute('text',txt);
+	</method> 		
+</class>
+
+<class name="borderedMultiInputtext" extends="view">
+	<attribute name="width" value="200" type="size" />
+	<attribute name="height" value="18" type="size" />
+    <attribute name="tvalue" type="string" value="default"/>
+    <attribute name="sendchange" value="false" type="boolean" />
+    <attribute name="multiline" value="false"/>
+	<attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+	<method name="setLabelId" args="_labelid" >
+		this.labelid = _labelid;
+		this.setAttribute('text',canvas.getLabelName(this.labelid));
+	</method>
+    <attribute name="checkIsNumber" value="false" type="boolean" />
+    <attribute name="checkIsDouble" value="false" type="boolean" />
+    <attribute name="editable" value="true" setter="setEditable(editable)" type="boolean" />
+    <method name="setEditable" args="value">
+        this.editable=value;
+    	this.field.setEnabled(value);
+    </method>
+    <method name="setItemEnabled" args="value">
+    	this.field.setEnabled(value);
+    </method>    
+    <attribute name="maxlength" value="null" type="number"/>         	
+	<attribute name="bgcolor" value="0xA3B2CC" type="color" />
+	<attribute name="text" type="string" value="" />
+		<!-- -->
+  <inputtext name="field" fontsize="10" text="${ this.parent.text }" x="1" y="1" bgcolor="0xFFFFFF" 
+  	multiline="true" width="${ this.parent.width-2 }" height="${ this.parent.height-2 }" >
+      	<handler name="onblur">
+      		var t = this.getText();
+      		if (this.parent.checkIsNumber){
+      			if ( isNaN( Number(t) ) ){
+      				if (this.parent.checkIsDouble){
+      					t="0.00";
+      				} else {
+      					t="0";
+      				}
+      				this.setAttribute('text',t);
+      			}
+      		}
+            if (this.parent.sendchange) this.parent.parent.sendchange(this.parent,this.parent.tvalue,this.getText());
+      	</handler>   
+        <handler name="oninit">
+            this.setEnabled(this.parent.editable);
+            if(this.multiline) this.init();
+        </handler>       	           
+        <method name="init">
+            super.init();        
+        </method>
+	</inputtext>	   
+	 
+	<method name="getText">
+		return this.field.getText();
+	</method>
+	<method name="setText" args="txt">
+		this.setAttribute('text',txt);
+	</method> 		
+</class>
+
+<class name="borderedPasswordText" extends="view">
+	<attribute name="width" value="200" type="size" />
+	<attribute name="height" value="18" type="size" />
+    <attribute name="tvalue" type="string" value="default"/>
+    <attribute name="sendchange" value="false" type="boolean" />
+    <attribute name="multiline" value="false"/>
+	<attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+	<method name="setLabelId" args="_labelid" >
+		this.labelid = _labelid;
+		this.setAttribute('text',canvas.getLabelName(this.labelid));
+	</method>
+    <attribute name="checkIsNumber" value="false" type="boolean" />
+    <attribute name="checkIsDouble" value="false" type="boolean" />
+    <attribute name="editable" value="true" setter="setEditable(editable)" type="boolean" />
+    <method name="setEditable" args="value">
+        this.editable=value;
+    	this.field.setEnabled(value);
+    </method>
+    <method name="setItemEnabled" args="value">
+    	this.field.setEnabled(value);
+    </method>    
+    <attribute name="maxlength" value="null" type="number"/>         	
+	<attribute name="bgcolor" value="0xA3B2CC" type="color" />
+	<attribute name="text" type="string" value="" />
+		<!-- -->
+  <inputtext name="field" fontsize="10" text="${ this.parent.text }" x="1" y="1" bgcolor="0xFFFFFF" 
+  	multiline="$once{parent.multiline}" password="true" width="${ this.parent.width-2 }" height="${ this.parent.height-2 }" >
+      	<handler name="onblur">
+      		var t = this.getText();
+      		if (this.parent.checkIsNumber){
+      			if ( isNaN( Number(t) ) ){
+      				if (this.parent.checkIsDouble){
+      					t="0.00";
+      				} else {
+      					t="0";
+      				}
+      				this.setAttribute('text',t);
+      			}
+      		}
+            if (this.parent.sendchange) this.parent.parent.sendchange(this.parent,this.parent.tvalue,this.getText());
+      	</handler>   
+        <handler name="oninit">
+            this.setEnabled(this.parent.editable);
+        </handler>       	           
+	</inputtext>	   
+	 
+	<method name="getText">
+		return this.field.getText();
+	</method>
+	<method name="setText" args="txt">
+		this.setAttribute('text',txt);
+	</method> 		
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/browserjavascriptcallback.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/browserjavascriptcallback.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/browserjavascriptcallback.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/browserjavascriptcallback.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,31 @@
+<library>
+  <script>
+    var _browserjavascriptcallback = "";
+  </script>
+  <class name="browserjavascriptcallback">
+     <attribute name="lzappId" type="string" value="lzapp" />
+     <attribute name="timer" type="number" value="10" />
+     <attribute name="prevalue" type="string" value="_browserjavascriptcallbackprevalue" />
+     <attribute name="value" />
+
+     <method name="callIt" args="script">
+		var t = script.split("'").join("\\'");
+		var s = "document.getElementById('"+ lzappId + "').SetVariable('_browserjavascriptcallback', escape((" + t + ")));"
+		
+		_browserjavascriptcallback = this.prevalue;
+		
+		lz.Browser.loadJS(s);
+		
+		if(typeof this.callDelegate == 'undefined')
+		this.callDelegate = new LzDelegate( this, "callback" );
+		lz.Timer.resetTimer( this.callDelegate, timer );
+     </method>
+
+     <method name="callback" args="item">
+		if(unescape(_browserjavascriptcallback) == this.prevalue)
+		lz.Timer.resetTimer( this.callDelegate, timer );
+		else
+		setAttribute("value", unescape(_browserjavascriptcallback));
+     </method>
+  </class>
+</library> 

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customEdittext.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customEdittext.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customEdittext.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customEdittext.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,232 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="customEdittext" extends="inputtext" bgcolor="0xFFFFFF" fontsize="11" height="20" >
+
+    <switch>
+      <when property="$as3">
+        <passthrough>
+          import flash.system.Capabilities;
+        </passthrough>
+      </when>
+    </switch>
+
+	<view name="v_border" height="1"       bgcolor="black" width="$once{parent.width}" />
+    <view name="h_border" width="1"  y="1" bgcolor="black" height="$once{parent.height -1}" />
+	
+	<attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+	
+	<attribute name="isvalidInput" value="true" type="boolean" />
+	<attribute name="regexpType" value="none" type="string" />
+	<attribute name="regexpLabelid" type="number" />
+	<attribute name="preText" value="" type="string" />
+	
+	<event name="onafterCheck" />
+
+	<handler name="onfocus" args="f">
+    	this.preText = this.getText();
+    </handler>
+    
+    <handler name="oninit">
+    	//this.field.setAttribute("bgcolor",0xFFFFFF);
+    </handler>
+    
+    <handler name="ontext" args="txt">
+    	<![CDATA[
+            
+    	    //
+    	   
+    	    if (Capabilities.os.indexOf('Linux') == -1) {
+                return; 
+	        }
+	        
+	        //if ($debug) Debug.write("Capabilities.os -- START ",Capabilities.os,txt);
+	        
+	        if (txt == null || txt.length == 0) {
+	        	return;
+	        }
+	        
+	        
+	        //UTF8 character remappings
+            var cp1252 = new Object();
+            cp1252[0x20ac]=0x80;
+            cp1252[0x201a]=0x82;
+            cp1252[0x0192]=0x83;
+            cp1252[0x201e]=0x84;
+            cp1252[0x2026]=0x85;
+            cp1252[0x2020]=0x86;
+            cp1252[0x2021]=0x87;
+            cp1252[0x02c6]=0x88;
+            cp1252[0x2030]=0x89;
+            cp1252[0x0160]=0x8a;
+            cp1252[0x2039]=0x8b;
+            cp1252[0x0152]=0x8c;
+            cp1252[0x017d]=0x8e;
+            cp1252[0x2018]=0x91;
+            cp1252[0x2019]=0x92;
+            cp1252[0x201c]=0x93;
+            cp1252[0x201d]=0x94;
+            cp1252[0x2022]=0x95;
+            cp1252[0x2013]=0x96;
+            cp1252[0x2014]=0x97;
+            cp1252[0x02dc]=0x98;
+            cp1252[0x2122]=0x99;
+            cp1252[0x0161]=0x9a;
+            cp1252[0x203a]=0x9b;
+            cp1252[0x0153]=0x9c;
+            cp1252[0x017e]=0x9e;
+            cp1252[0x0178]=0x9f;
+    	
+            
+            var s = this.stage.focus;
+            var t = txt;
+                    
+            var i = this.caretIndex - 1;
+            
+            //if ($debug) Debug.write("i",i,Selection.getCaretIndex());
+            
+            var d=i;
+            
+            //if ($debug) Debug.write("DO WHILE -1- ",t.charCodeAt(i),cp1252[t.charCodeAt(i)],i,0x80,0xBF);
+            
+            while (((t.charCodeAt(i)>=0x80 && t.charCodeAt(i)<=0xBF) || (cp1252[t.charCodeAt(i)])) && i>0) {
+            	
+            	//if ($debug) Debug.write("DO WHILE -2- ",t.charCodeAt(i),cp1252[t.charCodeAt(i)],i);
+            	
+                if (cp1252[t.charCodeAt(i)]) {
+                    t=t.substr(0,i)+String.fromCharCode(cp1252[t.charCodeAt(i)])+t.substr(i+1);
+                }
+                i--;
+            }
+            if (i==d) { 
+            	//if ($debug) Debug.write("i == d NOTHING TO REPLACE!");
+                return; 
+            }
+        
+            var u=0;
+            
+            if (t.charCodeAt(i)>=0xC2 && t.charCodeAt(i)<=0xDF && d-i==1) {
+                 // two-byte sequence
+                u= (t.charCodeAt(i+1) & 0x3F)       +
+                  ((t.charCodeAt(i  ) & 3   ) << 6) +
+                  ((t.charCodeAt(i  ) & 0x1C) << 6);
+            } else if (t.charCodeAt(i)>=0xE0 && t.charCodeAt(i)<=0xEF && d-i==2) {
+                // three-byte sequence
+                // (Flash Player doesn't cope with any more obscure Unicode)
+                u= (t.charCodeAt(i+2) & 0x3F)        +
+                  ((t.charCodeAt(i+1) & 3   ) << 6 ) +
+                  ((t.charCodeAt(i+1) & 0x3C) << 6 ) +
+                  ((t.charCodeAt(i  ) & 0x0F) << 12);
+            }
+        
+            if (u!=0) {
+            	//if ($debug) Debug.write("Replace String -1- ",txt,u,"Replace With ",String.fromCharCode(u));
+            	
+                this.setAttribute("text",t.slice(0,i)+String.fromCharCode(u)+t.slice(d+1));
+                
+                //if ($debug) Debug.write("Replace String -2- ",txt,u);
+                
+                this.setAttribute("text",this.text.split(String.fromCharCode(0x03)).join(''));
+            }
+            
+            //if ($debug) Debug.write("-- END ",this.text);
+            
+    	]]>
+    </handler>
+	
+	<handler name="onblur">
+		<![CDATA[
+			if (this.regexpType!="none"){
+				//if ($debug) Debug.write("onblur");
+				//if ($debug) Debug.write("onblur check ",this.regexpType);		
+				var fieldValue = this.getText();
+				if (this.regexpType=="email") {
+					//var regExpV = ".+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)";
+					var regExpV = "^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9-]+\.)+([a-zA-Z]{1,3})$";
+					//var regExpV = "^([a-zA-Z0-9_\-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([a-zA-Z0-9\-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$";
+					this.regexpLabelid = 519;
+				} else if (this.regexpType=="date"){
+					var regExpV = "(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\\d\\d";
+					this.regexpLabelid = 518;
+				} else if (this.regexpType=="float"){
+					var regExpV = "[0-9]*\\.[0-9]*";
+					this.regexpLabelid = 520;
+				} else if (this.regexpType=="phone"){
+					var regExpV = "\\+[0-9]+ [0-9]+ [0-9\\-]+";
+					this.regexpLabelid = 522;
+				} else if (this.regexpType=="number"){
+					var regExpV = "[0-9]*";
+					this.regexpLabelid = 521;
+				} else if (this.regexpType=="time"){
+					var regExpV = "([01][0-9]|2[0-3]):[0-5][0-9]";
+					this.regexpLabelid = 523;
+				} else {
+					if ($debug) Debug.warn("Unkown Regexp Type: ",this.regexpType);
+				}
+				//if ($debug) Debug.write("regExpV: ",regExpV);
+		  	    var fieldValue = this.getText();
+		  	    var regex = "/^"+regExpV+"$/";
+		  	    
+		  	    var t = "( !( (\""+ fieldValue +"\".replace("+ regex +" ,\"\").length == 0) && ( "+ regex +".test(\""+ fieldValue +"\")) ) ) ";
+	            this.bumb_1.callIt(t);
+				
+			}
+		]]>
+	</handler>
+	
+    <browserjavascriptcallback name="bumb_1">
+        <handler name="onvalue" args="val">
+            if(val=="true"){
+                //Debug.warn("FALSE: ",parent.parent,parent.parent.regexperror);
+              	disablesTooltips(new lz.regexptip(canvas,{x:this.getAttributeRelative('x',canvas)+12,
+              					y:this.getAttributeRelative('y',canvas)+26,
+              					regexptext:canvas.getLabelName(parent.regexpLabelid)}));
+              	parent.usePreContent();
+              	parent.setAttribute('isvalidInput',false);
+            } else {
+              	if(!this.parent.parent.getAttribute('isvalidInput')){
+                	disablesTooltips(null);
+              	}
+              	parent.setAttribute('isvalidInput',true);
+            }
+            parent.onafterCheck.sendEvent();
+        </handler>
+    </browserjavascriptcallback>    	
+
+    
+    <method name="setLabelId" args="_labelid" >
+        this.labelid = _labelid;
+        this.setAttribute('text',canvas.getLabelName(this.labelid));
+    </method>
+    
+  	<method name="usePreContent">
+  		this.setAttribute('text',this.preText);
+  	</method>    
+  	
+    <!--
+    <browserjavascriptcallback name="bumb_1">
+        <handler name="onvalue" args="val">
+            if(val=="true"){
+            	if(parent.parent.isreport){
+                    Debug.write("TRUE: ",parent.parent,parent.parent.regexperror);
+              		disablesTooltips(new lz.regexptip(canvas,{x:this.getAttributeRelative('x',canvas)+12,y:this.getAttributeRelative('y',canvas)+12,regexptext:'Invalid Input'}));
+              	} else {
+                    Debug.write("FALSE: ",parent.parent,parent.parent.regexperror);
+              		disablesTooltips(new lz.regexptip(canvas,{x:this.getAttributeRelative('x',canvas)+12,y:this.getAttributeRelative('y',canvas)+12,regexptext:'Invalid Input'}));
+              	}
+              	parent.usePreContent();
+              	parent.setAttribute('isvalidInput',false);
+            } else {
+              	if(!this.parent.parent.getAttribute('isvalidInput')){
+                	disablesTooltips(null);
+              	}
+              	parent.setAttribute('isvalidInput',true);
+              	if (this.parent.parent.textblur) this.parent.parent.textblur.sendEvent(); 
+            }
+        </handler>
+    </browserjavascriptcallback> 
+    -->       
+    
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customInputtext.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customInputtext.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customInputtext.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customInputtext.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,137 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="customInputtext" extends="inputtext">
+
+    <switch>
+        <when property="$as3">
+            <passthrough>
+                import flash.system.Capabilities;
+            </passthrough>
+        </when>
+    </switch>
+
+    <handler name="onfocus">
+	 
+	 	if ($debug) Debug.write("customInputtext onFocus : ", canvas.isrtl);
+	 		
+	 
+		 if(canvas.isrtl == 'true'){
+	 		if ($debug) Debug.write("customInputtext onFocus : RTL is set");
+	 		this.setAttribute('textalign', 'right');
+        }
+        else{
+        	if ($debug) Debug.write("customInputtext onFocus : RTL is NOT set");
+      		this.setAttribute('textalign', 'left');
+        
+        }
+	 </handler>	  
+	  
+	 <handler name="ontext" args="txt">
+        <![CDATA[
+            
+            //
+           
+            Debug.write("Capabilities.os -- START ", Capabilities.os, txt);
+            if (Capabilities.os.indexOf('Linux') == -1) { //
+                return;
+            }
+
+            //if ($debug) Debug.write("System.capabilities.os -- START ",System.capabilities.os,txt);
+            
+            if (txt == null || txt.length == 0) {
+                return;
+            }
+            
+            
+            //UTF8 character remappings
+            var cp1252 = new Object();
+            cp1252[0x20ac]=0x80;
+            cp1252[0x201a]=0x82;
+            cp1252[0x0192]=0x83;
+            cp1252[0x201e]=0x84;
+            cp1252[0x2026]=0x85;
+            cp1252[0x2020]=0x86;
+            cp1252[0x2021]=0x87;
+            cp1252[0x02c6]=0x88;
+            cp1252[0x2030]=0x89;
+            cp1252[0x0160]=0x8a;
+            cp1252[0x2039]=0x8b;
+            cp1252[0x0152]=0x8c;
+            cp1252[0x017d]=0x8e;
+            cp1252[0x2018]=0x91;
+            cp1252[0x2019]=0x92;
+            cp1252[0x201c]=0x93;
+            cp1252[0x201d]=0x94;
+            cp1252[0x2022]=0x95;
+            cp1252[0x2013]=0x96;
+            cp1252[0x2014]=0x97;
+            cp1252[0x02dc]=0x98;
+            cp1252[0x2122]=0x99;
+            cp1252[0x0161]=0x9a;
+            cp1252[0x203a]=0x9b;
+            cp1252[0x0153]=0x9c;
+            cp1252[0x017e]=0x9e;
+            cp1252[0x0178]=0x9f;
+        
+            
+            var s = this.stage.focus;
+            var t = txt;
+                    
+            var i = this.caretIndex - 1;
+            
+            //if ($debug) Debug.write("i",i,Selection.getCaretIndex());
+            
+            var d=i;
+            
+            //if ($debug) Debug.write("DO WHILE -1- ",t.charCodeAt(i),cp1252[t.charCodeAt(i)],i,0x80,0xBF);
+            
+            while (((t.charCodeAt(i)>=0x80 && t.charCodeAt(i)<=0xBF) || (cp1252[t.charCodeAt(i)])) && i>0) {
+                
+                //if ($debug) Debug.write("DO WHILE -2- ",t.charCodeAt(i),cp1252[t.charCodeAt(i)],i);
+                
+                if (cp1252[t.charCodeAt(i)]) {
+                    t=t.substr(0,i)+String.fromCharCode(cp1252[t.charCodeAt(i)])+t.substr(i+1);
+                }
+                i--;
+            }
+            if (i==d) { 
+                //if ($debug) Debug.write("i == d NOTHING TO REPLACE!");
+                return; 
+            }
+        
+            var u=0;
+            
+            if (t.charCodeAt(i)>=0xC2 && t.charCodeAt(i)<=0xDF && d-i==1) {
+                 // two-byte sequence
+                u= (t.charCodeAt(i+1) & 0x3F)       +
+                  ((t.charCodeAt(i  ) & 3   ) << 6) +
+                  ((t.charCodeAt(i  ) & 0x1C) << 6);
+            } else if (t.charCodeAt(i)>=0xE0 && t.charCodeAt(i)<=0xEF && d-i==2) {
+                // three-byte sequence
+                // (Flash Player doesn't cope with any more obscure Unicode)
+                u= (t.charCodeAt(i+2) & 0x3F)        +
+                  ((t.charCodeAt(i+1) & 3   ) << 6 ) +
+                  ((t.charCodeAt(i+1) & 0x3C) << 6 ) +
+                  ((t.charCodeAt(i  ) & 0x0F) << 12);
+            }
+        
+            if (u!=0) {
+                //if ($debug) Debug.write("Replace String -1- ",txt,u,"Replace With ",String.fromCharCode(u));
+                
+                this.setAttribute("text",t.slice(0,i)+String.fromCharCode(u)+t.slice(d+1));
+                
+                //if ($debug) Debug.write("Replace String -2- ",txt,u);
+                
+                this.setAttribute("text",this.text.split(String.fromCharCode(0x03)).join(''));
+            }
+            
+            //if ($debug) Debug.write("-- END ",this.text);
+            
+        ]]>
+    </handler>
+  	
+    
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customscrollEdittext.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customscrollEdittext.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customscrollEdittext.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/customscrollEdittext.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+   
+<include href="incubator/scrolledittext.lzx" />
+
+<class name="customScrollEdittext" extends="view" >
+	
+	<attribute name="text" value="" type="string" />
+	
+	<event name="ontextChange" />
+
+    <attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+    <method name="setLabelId" args="_labelid" >
+        this.labelid = _labelid;
+        this.setAttribtue('text',canvas.getLabelName(this.labelid));
+    </method>
+    
+    <method name="getText">
+    	return this._cbtext.getText();
+    </method>
+    
+    <view name="_face" bgcolor="0xFFFFFFF" 
+          width="$once{parent.width}" 
+          height="$once{parent.height}" />
+          
+    <view name="v_border" height="1" bgcolor="black" width="$once{parent.width}" />
+    <view name="h_border" width="1"  y="1" bgcolor="black" height="$once{parent.height -1}" />
+          
+    <scrolledittext name="_cbtext" width="$once{ parent.width-2 }" x="1" y="1" bgcolor="0xFFFFFF"  styleable="false"
+		height="$once{ parent.height-2 }" text="${ parent.text }" multiline="true" fontsize="11" />
+    
+     
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/borderedinputtext_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/borderedinputtext_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/borderedinputtext_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/borderedinputtext_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="boarderedinputtext">
+   <doc>
+   	view内にinputtextクラスを入れ子にして'境界線'があるように見せている。他のboarderd*クラス<br/>
+   	との違いは、inputtextクラスのattribute設定が違うだけに見えます。<br/>
+   	[boarderedinputtext] multiline=false<br/>
+   	[*multiinputtext]    multiline=true<br/>
+   	[*passwordtext]      password=true
+   </doc>
+ </class>
+ <class name="boarderedmultiinputtext">
+   <doc>
+   </doc>
+ </class>
+ <class name="boarderedpasswordtext">
+   <doc>
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/customedittext_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/customedittext_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/customedittext_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/customedittext_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="customedittext">
+   <doc>
+   	ラベル付きのedittext。
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/customscrolledittext_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/customscrolledittext_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/customscrolledittext_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/customscrolledittext_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="scrolledittext">
+   <doc>
+   	incubator/baseedittextクラスを継承した、スクロールバー付きのedittext
+   </doc>
+ </class>
+ <class name="customscrolledittext">
+   <doc>
+   	scrolledittextにラベルをつけたもの。
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/labeltext_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/labeltext_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/labeltext_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/labeltext_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="labeltext_doc">
+   <doc>
+   	ラベル付きのtextクラス。
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/labeltooltip_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/labeltooltip_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/labeltooltip_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/doc/lzx/ja/labeltooltip_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="labeltooltip">
+   <doc>
+   	ラベル付きのtooltip。viewクラスを継承している。<br/>
+   	*incubator/tooltipクラスを継承することで代替可能では? その場合、以下の2つのクラスも<br>
+   	 attribute設定で十分対応できるので必要なくなるのでは?
+   	</br>
+   </doc>
+ </class>
+ <class name="xmlcrmtooltip">
+   <doc>
+   	背景色や大きさをカスタム化したtooltip。
+   </doc>
+ </class>
+ <class name="xmlcrmtooltipmulti">
+   <doc>
+   	表示テキストがmultiline=trueであるtooltipクラス。
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/labelText.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/labelText.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/labelText.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/labelText.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="labelText" extends="text" resize="true" fontsize="11" >
+
+	<attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+	<method name="setLabelId" args="_labelid" >
+		this.labelid = _labelid;
+		this.setAttribute('text',canvas.getLabelName(this.labelid));
+	</method>
+	
+</class>
+
+
+<class name="labelTextWidthTooltip" extends="text" resize="true" 
+	   onmouseover="" onmouseout=""
+	   fontsize="11" >
+	
+	<attribute name="labelLabelid" type="number" value="-1" />
+
+	<attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+	<method name="setLabelId" args="_labelid" >
+		this.labelid = _labelid;
+		this.setAttribute('text',canvas.getLabelName(this.labelid));
+	</method>
+	
+	<labelTooltip name="_labelTooltip" labelid="$once{ parent.labelLabelid }" />
+	
+</class>
+
+<class name="labeldTextListItem" extends="textlistitem">
+	<attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+    <method name="setLabelId" args="_labelid" >
+        this.labelid = _labelid;
+        this.setAttribute('text',canvas.getLabelName(this.labelid));
+    </method>
+    <labelTooltip initByDataPathparent="true" />
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/labelTooltip.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/labelTooltip.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/labelTooltip.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/labelTooltip.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="labelTooltip" extends="view" visible="false" >
+
+	<attribute name="inittwice" value="false" type="boolean" />
+    <attribute name="multiline" value="false" type="boolean" />
+    <attribute name="ismenubuttonlabel" value="false" type="boolean" />
+    <attribute name="initByDataPathparent" value="false" type="boolean" />
+    
+    <attribute name="holder" value="null" />
+    
+    <event name="setContent" />
+        
+    <handler name="onmouseover" reference="this.parent">
+    	<![CDATA[
+            this.setContent.sendEvent();
+	    	if (this.ismenubuttonlabel){
+	    		this.parent.setLabel();
+	    	}
+	    	if (this.inittwice){
+	    		this.setAttribute('text',canvas.getLabelName(this.labelid));
+	    	}
+	    	if (this.initByDataPathparent){
+                this.setAttribute('text',parent.text);
+            }
+	        var xVal = canvas.getMouse('x');
+	        var yVal = canvas.getMouse('y');
+			////Debug.write("mytext: ",this.mytext);
+			if (this.multiline && this.text.length!=0){
+				this.holder = new lz.xmlCrmTooltipMulti(canvas,{text:this.text,holder:this});
+			} else if (this.text.length!=0){
+				this.holder = new lz.xmlCrmTooltip(canvas,{text:this.text,holder:this});
+			}
+	        if (xVal<canvas.width/2){
+	            xVal += 0;
+	        } else {
+	            xVal -= this.holder.width-14;
+	        }
+	        if (yVal<canvas.height/2){
+	            yVal += 24;
+	        } else {
+	            yVal -= 24;
+	        }
+	        this.holder.setAttribute('x',xVal);
+	        this.holder.setAttribute('y',yVal);
+        ]]>        
+    </handler>
+    <handler name="onmouseout" reference="this.parent">
+        this.holder.destroy();
+    </handler>
+    <handler name="onmouseup" reference="this.parent">
+        this.holder.destroy();
+    </handler>
+    <handler name="onclick" reference="this.parent">
+        this.holder.destroy();
+    </handler>    
+    <attribute name="labelid" type="number" setter="setLabelId(labelid)" />
+    <method name="setLabelId" args="_labelid" >
+        this.labelid = _labelid;
+        this.setAttribute('text',canvas.getLabelName(this.labelid));
+    </method>
+    <attribute name="text" value="" type="string" />
+</class>
+
+<class name="xmlCrmTooltip" extends="view" bgcolor="0x000000"
+    width="${ this._text.width+2 }" height="${ this._text.height+2 }" >
+    <switch>
+	  <when property="$as3">
+		<passthrough>
+		  import flash.filters.DropShadowFilter;
+		</passthrough>
+	  </when>
+	</switch>
+    <attribute name="text" value="" type="string" />
+    <attribute name="holder" value="null" />
+    <text x="1" y="1" text="${ parent.text }" resize="true" 
+        fontsize="10" name="_text" bgcolor="0xFFFFFF" />
+    <handler name="onmouseout">
+        this.destroy();
+    </handler>
+    <handler name="oninit">
+        this.setShadow();
+    </handler>
+    <method name="setShadow" >
+        <![CDATA[
+        if (this.isinited){
+            this.normalMC = this.getDisplayObject();
+           	this.displacementMap = new DropShadowFilter();
+            this.normalMC.filters = [this.displacementMap];
+        }
+        ]]>              
+    </method> 
+</class>
+
+<class name="xmlCrmTooltipMulti" extends="view" bgcolor="0x000000" 
+    width="${ this._text.width+2 }" height="${ this._text.height+2 }" >
+    <switch>
+	  <when property="$as3">
+		<passthrough>
+		  import flash.filters.DropShadowFilter;
+		</passthrough>
+	  </when>
+	</switch>
+    <attribute name="text" value="" type="string" />
+    <attribute name="holder" value="null" />
+    <text x="1" y="1" text="${ parent.text }" resize="true" 
+        fontsize="10" name="_text" bgcolor="0xFFFFFF" multiline="true" />
+    <handler name="oninit">
+        this.setShadow();
+    </handler>
+    <method name="setShadow" >
+        <![CDATA[
+        if (this.isinited){
+            this.normalMC = this.getDisplayObject();
+           	this.displacementMap = new DropShadowFilter();
+            this.normalMC.filters = [this.displacementMap];
+        }
+        ]]>              
+    </method>	    
+    <handler name="onmouseout">
+        this.destroy();
+    </handler>
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+	
+	<include href="browserjavascriptcallback.lzx" />
+	<include href="borderedInputtext.lzx" />
+	<include href="labelText.lzx" />
+	<include href="labelTooltip.lzx" />
+    <include href="customEdittext.lzx" />
+    <include href="customscrollEdittext.lzx" />
+    <include href="customInputtext.lzx" />
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/test-customEdittext.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/test-customEdittext.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/test-customEdittext.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/test-customEdittext.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<canvas width="100%" height="100%" debug="true">
+
+    <debug fontsize="12" oninit="Debug.showInternalProperties = true" />
+    
+<class name="customEdittext" extends="edittext" fontsize="11" >
+	
+    <handler name="onvalue" args="txt">
+    	<![CDATA[
+            
+    	    if (System.capabilities.os.indexOf('Linux')==-1) { 
+                return; 
+	        }
+	        
+	        //if ($debug) Debug.write("System.capabilities.os -- START ",System.capabilities.os,txt);
+	        
+	        if (txt == null || txt.length == 0) {
+	        	return;
+	        }
+	        
+	        
+	        //UTF8 character remappings
+            var cp1252 = new Object();
+            cp1252[0x20ac]=0x80;
+            cp1252[0x201a]=0x82;
+            cp1252[0x0192]=0x83;
+            cp1252[0x201e]=0x84;
+            cp1252[0x2026]=0x85;
+            cp1252[0x2020]=0x86;
+            cp1252[0x2021]=0x87;
+            cp1252[0x02c6]=0x88;
+            cp1252[0x2030]=0x89;
+            cp1252[0x0160]=0x8a;
+            cp1252[0x2039]=0x8b;
+            cp1252[0x0152]=0x8c;
+            cp1252[0x017d]=0x8e;
+            cp1252[0x2018]=0x91;
+            cp1252[0x2019]=0x92;
+            cp1252[0x201c]=0x93;
+            cp1252[0x201d]=0x94;
+            cp1252[0x2022]=0x95;
+            cp1252[0x2013]=0x96;
+            cp1252[0x2014]=0x97;
+            cp1252[0x02dc]=0x98;
+            cp1252[0x2122]=0x99;
+            cp1252[0x0161]=0x9a;
+            cp1252[0x203a]=0x9b;
+            cp1252[0x0153]=0x9c;
+            cp1252[0x017e]=0x9e;
+            cp1252[0x0178]=0x9f;
+    	
+            
+            var s=eval(Selection.getFocus()); 
+            var t=txt;
+                    
+            var i=Selection.getCaretIndex()-1; 
+            
+            //if ($debug) Debug.write("i",i,Selection.getCaretIndex());
+            
+            var d=i;
+            
+            //if ($debug) Debug.write("DO WHILE -1- ",t.charCodeAt(i),cp1252[t.charCodeAt(i)],i,0x80,0xBF);
+            
+            while (((t.charCodeAt(i)>=0x80 && t.charCodeAt(i)<=0xBF) || (cp1252[t.charCodeAt(i)])) && i>0) {
+            	//if ($debug) Debug.write("DO WHILE -2- ",t.charCodeAt(i),cp1252[t.charCodeAt(i)],i);
+                if (cp1252[t.charCodeAt(i)]) {
+                    t=t.substr(0,i)+String.fromCharCode(cp1252[t.charCodeAt(i)])+t.substr(i+1);
+                }
+                i--;
+            }
+            if (i==d) { 
+                return; 
+            }
+        
+            var u=0;
+            
+            if (t.charCodeAt(i)>=0xC2 && t.charCodeAt(i)<=0xDF && d-i==1) {
+                 // two-byte sequence
+                u= (t.charCodeAt(i+1) & 0x3F)       +
+                  ((t.charCodeAt(i  ) & 3   ) << 6) +
+                  ((t.charCodeAt(i  ) & 0x1C) << 6);
+            } else if (t.charCodeAt(i)>=0xE0 && t.charCodeAt(i)<=0xEF && d-i==2) {
+                // three-byte sequence
+                // (Flash Player doesn't cope with any more obscure Unicode)
+                u= (t.charCodeAt(i+2) & 0x3F)        +
+                  ((t.charCodeAt(i+1) & 3   ) << 6 ) +
+                  ((t.charCodeAt(i+1) & 0x3C) << 6 ) +
+                  ((t.charCodeAt(i  ) & 0x0F) << 12);
+            }
+        
+            if (u!=0) {
+                this.setAttribute("text",t.slice(0,i)+String.fromCharCode(u)+t.slice(d+1));
+                this.setAttribute("text",this.text.split(String.fromCharCode(0x03)).join(''));
+            }
+            
+    	]]>
+    </handler>
+</class>
+
+<customEdittext width="300" y="20" />
+
+
+</canvas>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/test-customscrollEdittext.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/test-customscrollEdittext.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/test-customscrollEdittext.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/text/test-customscrollEdittext.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<canvas>
+   
+<include href="customscrollEdittext.lzx" />
+
+<view width="600" height="600" bgcolor="0xCCCCCC">
+        <customScrollEdittext name="adress_comment" y="460" x="120" width="270" 
+                        height="70" text="" />
+                        
+</view>                        
+</canvas>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/baseContentListItem.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/baseContentListItem.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/baseContentListItem.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/baseContentListItem.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<!--- base class for the item list views-->
+<class name="baseContentListItem" extends="view" 
+	   layout="axis:x;spacing:0" bgcolor="0xFFFFFF" >
+	
+	<attribute name="isselected" value="false" type="boolean"/>
+	
+	<method name="select">
+		this.isselected = true;
+		this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer);
+	</method>
+	
+	<method name="deselect">
+		this.isselected = false;
+		this.setAttribute('bgcolor',0xFFFFFF);
+	</method>
+	
+	<method name="doDeselect">
+		this.deselect();
+	</method>
+	
+	<handler name="onmouseover">
+		if (!this.isselected) {
+			this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer);
+		}
+	</handler>
+	
+	<handler name="onmouseout">
+		if (!this.isselected) {
+			this.setAttribute('bgcolor',0xFFFFFF);
+		} else {
+			this.setAttribute('bgcolor',canvas.baseMouseOvercolorizer);
+		}
+	</handler>
+	
+	<handler name="onclick">
+		if ($debug) Debug.write("baseContentListItem -- onclick");
+		this.parent.parent.parent.parent.onclickedItem.sendEvent(this);
+	</handler>
+    
+    <handler name="ondblclick">
+		this.parent.parent.parent.parent.ondblclickedItem.sendEvent(this);
+	</handler>
+	
+    <attribute name="obj" value="null" />
+
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/basecontentlistitem_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/basecontentlistitem_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/basecontentlistitem_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/basecontentlistitem_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="basecontentlistitem">
+   <doc>
+	mouseover/outで背景色が変わり、onclickでクリックされたobjectを'parent.parent.parent.parent'
+	に送信します。
+	*'parent'が4つもついて,class外に依存しています。変更しましょう。
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnoverlist_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnoverlist_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnoverlist_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnoverlist_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="turnoverlist">
+   <doc>	innerlistクラス,turnoverlistクラスが一つのファイルにあります。
+	innerlistクラスはaxis:y,spacing:2のレイアウトで固定されたviewクラスで
+	turnoverlistクラスで多用しています。他のクラスで使っていなければこのまま同梱
+	でもよさそうです。
+	button/comboboxが沢山つかわれていて、どこかの部品のようですがこのクラスがどこでつかわれているかわかりません。
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnoverlistheaderitem_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnoverlistheaderitem_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnoverlistheaderitem_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnoverlistheaderitem_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="turnoverlistheaderitem">
+   <doc>
+	turnoverlistheaderitemクラス,turnoverlistheaderitemsimpleクラスが同梱されています。
+	依存関係はないようですので別ファイルにしましょう。
+	resizableな汎用ボタンのようです。特にどこで使うかわかりません。
+	*'parent.parent...'とクラス外に依存する記述が多数みられますので修正しましょう。
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnovertextitem_doc.xml
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnovertextitem_doc.xml?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnovertextitem_doc.xml (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/doc/lzx/ja/turnovertextitem_doc.xml Sun Dec 18 15:22:12 2011
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rlzxdoc>
+ <class name="turnovertextitem">
+   <doc>	textフィールド内に任意のheight,width=3pix,背景色黒のviewを持つ汎用クラス。
+	*内部のviewのheightが'parent.parent'指定されているので,クラスのattribute化しましょう。
+   </doc>
+ </class>
+</rlzxdoc>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/library.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/library.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/library.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/library.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+    
+	<resource name="step_back" src="resources/step_back.png" />
+	<resource name="step_fwd" src="resources/step_fwd.png" />
+    
+    <resource name="step_back_two_arrow" src="resources/2leftarrow.png" />
+    <resource name="step_fwd_two_arrow" src="resources/2rightarrow.png" />
+    
+    <resource name="step_back_arrow" src="resources/1leftarrow.png" />
+    <resource name="step_fwd_arrow" src="resources/1rightarrow.png" />
+    
+    <resource name="sort_up_rsc" src="resources/1uparrow.png" />    
+	<resource name="sort_down_rsc" src="resources/1downarrow.png" />   
+
+	<include href="turnOverList.lzx" />
+    <include href="simpleTurnOverList.lzx" />
+	<include href="turnOverListHeaderItem.lzx" />
+	<include href="turnOverTextItem.lzx" />
+    <include href="baseContentListItem.lzx" />
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1downarrow.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1downarrow.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1downarrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1leftarrow.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1leftarrow.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1leftarrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1rightarrow.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1rightarrow.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1rightarrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1uparrow.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1uparrow.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/1uparrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/2leftarrow.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/2leftarrow.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/2leftarrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/2rightarrow.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/2rightarrow.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/2rightarrow.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/sort_asc.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/sort_asc.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/sort_asc.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/sort_desc.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/sort_desc.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/sort_desc.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/step_back.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/step_back.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/step_back.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/step_fwd.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/step_fwd.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/step_fwd.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/width_gripper.png
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/width_gripper.png?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/width_gripper.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/width_gripper.swf
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/width_gripper.swf?rev=1220424&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/resources/width_gripper.swf
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/simpleTurnOverList.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/simpleTurnOverList.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/simpleTurnOverList.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/simpleTurnOverList.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+	
+<!--- common simpleTurnOverList view class. -->
+<class name="simpleTurnOverList" extends="view">
+    
+    <attribute name="_selected" value="null"/>
+    
+    <event name="ondblclickedItem" />
+
+    <handler name="onclickedItem" args="itemObj">
+        if (this._selected != null) {
+            this._selected.deselect();
+        }
+        this._selected = itemObj;
+        this._selected.select();
+    </handler>
+	
+	<attribute name="mainBgColor" value="0xEEF0EB" />
+    
+	<method name="addHeaderItem" args="labelid,width" >
+		new lz.turnOverListHeaderItem(this._innerlisthead._inn,{labelid:labelid,width:width,subviewsid:this._innerlisthead._inn.subviews.length});
+	</method>
+    
+    <method name="sendInitialWidthUpdate">
+        for (var eg in this._innerlisthead._inn.subviews) {
+            this._innerlisthead._inn.subviews[eg].onwidth.sendEvent(this._innerlisthead._inn.subviews[eg].width);
+        }
+    </method> 
+	
+	<method name="sendWidthUpdate" args="w,subviewsid" >
+		<![CDATA[
+		////Debug.write(w,subviewsid,this._innerlist._inn);
+		for (var i=0;i<this._innerlist._inn._inn.subviews.length;i++){
+			this._innerlist._inn._inn.subviews[i].subviews[subviewsid].setAttribute('width',w);
+		}
+		]]>
+	</method>
+    
+    <method name="initValues" args="numberOfRecords">
+        <![CDATA[
+            this._records.setAttribute('text',numberOfRecords + ' ' + canvas.getLabelName(272) );
+        ]]>
+    </method>
+	
+	<method name="clearList">
+        this._selected = null;
+		this._innerlist._inn._inn.destroy();
+		new lz.innerList(this._innerlist._inn,{name:'_inn'});
+	</method>
+    
+    <!-- =========  BgArea area  =========-->
+    <view width="$once{ parent.width }" bgcolor="0x000000"
+          height="$once{ parent.height-20 }" x="0" y="20">
+        <view width="$once{ parent.width-2 }" bgcolor="$once{ parent.parent.mainBgColor }"
+          height="$once{ parent.height-2 }" x="1" y="1"></view>
+    </view>
+    
+	<!-- =========  Control area  =========-->
+
+    <labelText name="_records" x="2" resize="true" />
+    
+    
+	<!-- =========  List Header area  =========-->
+
+	<view name="_innerlisthead" height="20" x="1" width="$once{ parent.width-2 }"
+         y="22" clip="true">
+        <view name="_inn" x="${ parent.parent._innerlist._inn.x }" layout="axis:x;spacing:0" />
+    </view> 
+	
+	<!-- =========  List Contents area  =========-->
+	<view name="_innerlist" height="$once{ parent.height-43 }" x="1" width="$once{ parent.width-2 }"
+		y="42" clip="true" bgcolor="$once{ parent.mainBgColor }">
+		<view name="_inn" >
+			<innerList name="_inn" />
+		</view>
+		<vscrollbar />
+		<hscrollbar />
+	</view>
+
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverList.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverList.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverList.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverList.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,284 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<!--- private class for turnOverList only. -->
+<class name="innerList" layout="axis:y;spacing:1" />
+	
+<!--- common TurnOverList view class. -->
+<class name="turnOverList" extends="view" >
+
+	<attribute name="start" value="0" type="number" />
+	<attribute name="step" value="100" type="number" />
+	<attribute name="orderby" value="firstname" type="string" />
+	<attribute name="asc" value="true" type="boolean" />
+	<attribute name="records" value="0" type="number" />
+	
+	<attribute name="_selected" value="null"/>
+    <attribute name="currentSelectedOrder" value="null" />
+    <attribute name="mainBgColor" value="0xEEF0EB" />
+	
+	<event name="oncallnext" />
+	<event name="oncallpre" />
+	<event name="ondblclickedItem" />
+    <event name="onUpdateOrder" />
+	
+	<method name="callfirst">
+		this.start = 0;
+		this.oncallnext.sendEvent();
+	</method>
+    
+    <method name="clearSelection">
+        if (this._selected != null) {
+            this._selected.deselect();
+        }
+    </method>
+	
+	<handler name="onclickedItem" args="itemObj">
+		if (this._selected != null) {
+			this._selected.deselect();
+		}
+		this._selected = itemObj;
+		this._selected.select();
+	</handler>
+	
+	<method name="calllast">
+		var newMaxPages = Math.floor(this.records/this.step);
+        if ($debug) Debug.write("calllast 1 ",newMaxPages);
+        this.start = newMaxPages*this.step;
+        if ($debug) Debug.write("calllast 2 ",this.start);
+        if (this.start == this.records) {
+            this.start = this.records-this.step;
+        }
+        if ($debug) Debug.write("calllast 3 ",this.start);
+        if ($debug) Debug.write("calllast 4 ",this.records);
+        this.oncallnext.sendEvent();
+        this.onload.sendEvent();
+        
+		//this.start = this.records-this.step;
+		//this.oncallnext.sendEvent();
+	</method>
+	
+	<method name="callnext">
+		this._next1.setAttribute('enabled',false);
+		this._pre2.setAttribute('enabled',false);
+		if (this.records>(this.start+this.step)){
+			this.start+=this.step;
+		}
+		this.oncallnext.sendEvent();
+	</method>
+	
+	<method name="callpre">
+		this._next1.setAttribute('enabled',false);
+		this._pre2.setAttribute('enabled',false);
+		if (this.start>0){
+			this.start-=this.step;
+		}
+		this.oncallpre.sendEvent();
+	</method>
+	
+	<method name="initValues" args="rec">
+		<![CDATA[
+            this.records = rec;
+            if (this.records>(this.start+this.step)){
+                this._next1.setAttribute('enabled',true);
+            } else {
+                this._next1.setAttribute('enabled',false);
+            }
+            if (this.start>0){
+                this._pre2.setAttribute('enabled',true);
+            } else {
+                this._pre2.setAttribute('enabled',false);
+            }
+            this._records.setAttribute('text',this.start + ' - ' +(this.start+this.step) + ' ' + canvas.getLabelName(272) + ' ' + this.records);
+		]]>
+	</method>
+	
+	<method name="addHeaderItem" args="labelid,width" >
+		new lz.turnOverListHeaderItem(this._innerlisthead._inn,{labelid:labelid,width:width,subviewsid:this._innerlisthead._inn.subviews.length});
+	</method>
+	
+	<method name="addHeaderItemOrdered" args="labelid,width,orderBy,asc,isSelected" >
+        new lz.turnOverListHeaderItemOrdered(this._innerlisthead._inn,{
+                labelid:labelid,width:width,
+                orderBy:orderBy,asc:asc,isSelected:isSelected,
+                subviewsid:this._innerlisthead._inn.subviews.length
+            });
+    </method> 
+    
+    <method name="updateOrder" args="itemRef">
+        <![CDATA[
+            //only do that if the previous orderBy != new orderby
+            //if (this.currentSelectedOrder == null || 
+            //        this.currentSelectedOrder.orderBy != itemRef.orderBy){
+            if (itemRef.isSelected) {
+                itemRef.asc = !itemRef.asc;
+            } else {
+                itemRef.isSelected = true;
+            }
+            if (itemRef.asc) {
+                itemRef._sortUp.setAttribute('visibility','hidden');
+                itemRef._sortDown.setAttribute('visibility','visible');
+            } else {
+                itemRef._sortUp.setAttribute('visibility','visible');
+                itemRef._sortDown.setAttribute('visibility','hidden'); 
+            }
+            
+            //do not perform search on initial Selection
+            var isInitSelect = false;
+            if (this.currentSelectedOrder != null) {
+                if (this.currentSelectedOrder.orderBy != itemRef.orderBy) {
+                    this.currentSelectedOrder.isSelected = false;
+                    this.currentSelectedOrder._sortUp.setAttribute('visibility','hidden');
+                    this.currentSelectedOrder._sortDown.setAttribute('visibility','hidden'); 
+                }
+            } else {
+                isInitSelect = true;
+            }
+            this.currentSelectedOrder = itemRef;
+            
+            if ($debug) Debug.write("updateOrder: ",itemRef,itemRef.orderBy,itemRef.asc,isInitSelect);
+            this.setAttribute('orderby',itemRef.orderBy);
+            this.setAttribute('asc',itemRef.asc);
+            
+            if (!isInitSelect){
+                this.onUpdateOrder.sendEvent(itemRef);
+            }
+            //}
+        ]]>
+    </method>
+    
+    <method name="sendInitialWidthUpdate">
+        for (var eg in this._innerlisthead._inn.subviews) {
+            this._innerlisthead._inn.subviews[eg].onwidth.sendEvent(this._innerlisthead._inn.subviews[eg].width);
+        }
+    </method> 
+	
+	<method name="sendWidthUpdate" args="w,subviewsid" >
+		<![CDATA[
+		////Debug.write(w,subviewsid,this._innerlist._inn);
+		for (var i=0;i<this._innerlist._inn._inn.subviews.length;i++){
+			this._innerlist._inn._inn.subviews[i].subviews[subviewsid].setAttribute('width',w);
+		}
+		]]>
+	</method>
+	
+	<method name="clearList">
+		this._selected = null;
+		this._innerlist._inn._inn.destroy();
+		new lz.innerList(this._innerlist._inn,{name:'_inn'});
+	</method>
+    
+
+
+	<!-- =========  Control area  =========-->
+
+    <labelText name="_records" x="2" resize="true" />
+    
+    <!-- 368:goto first -->
+    <miniIcons y="2" x="$once{ parent.width-188 }" resource="step_back_two_arrow" width="16" height="16" 
+                   showhandcursor="true">
+        <handler name="onclick">
+            parent.callfirst();
+        </handler>
+        <labelTooltip labelid="368" />
+    </miniIcons>
+    <!--   
+	<simpleLabelButtonTooltip name="_pre1" x="$once{ parent.width-188 }" width="22" height="22" 
+		enabled="true" onclick="parent.callfirst()" tooltipId="368">
+		<view resource="step_back_two_arrow" valign="middle" align="center" />
+	</simpleLabelButtonTooltip>
+	 -->
+
+    <!-- 369:goto previous -->
+    <miniIcons y="2" x="$once{ parent.width-166 }" resource="step_back_arrow" width="16" height="16" 
+                   showhandcursor="true">
+        <handler name="onclick">
+            parent.callpre();
+        </handler>
+        <labelTooltip labelid="369" />
+    </miniIcons>
+    <!--
+	<simpleLabelButtonTooltip name="_pre2" x="$once{ parent.width-166 }" width="22" height="22" 
+		enabled="false" onclick="parent.callpre()" tooltipId="369" >
+		<view resource="step_back_arrow" valign="middle" align="center" />
+	</simpleLabelButtonTooltip>
+	 -->
+
+    <!-- combobox to decide the step number -->
+    <resetCombobox name="languages" width="96" x="$once{ parent.width-144 }" 
+			  editable="false" height="20" >
+		<attribute name="sendEventToReload" value="false" type="boolean" />
+        <textlistitem value="10" text="10" />
+        <textlistitem value="25" text="25" />
+        <textlistitem value="50" text="50" />
+        <textlistitem value="75" text="75" />
+        <textlistitem value="100" text="100" />
+        <textlistitem value="200" text="200" />
+        <handler name="onselect">
+        	if (this.sendEventToReload){ 
+        		parent.setAttribute('step',Number(this.getValue()));
+        	}
+        </handler>
+        <handler name="oninit">
+        	this.selectItem(String(parent.step));
+        	this.sendEventToReload = true;
+        </handler>
+	</resetCombobox>
+	
+	<!-- 370:goto next -->
+	<miniIcons y="2" x="$once{ parent.width-44 }" resource="step_fwd_arrow" width="16" height="16" 
+                   showhandcursor="true">
+        <handler name="onclick">
+            parent.callnext();
+        </handler>
+        <labelTooltip labelid="370" />
+    </miniIcons>
+    <!-- 
+	<simpleLabelButtonTooltip name="_next1" x="$once{ parent.width-44 }" width="22" height="22" 
+		enabled="false" onclick="parent.callnext()" tooltipId="370">
+		<view resource="step_fwd_arrow" valign="middle" align="center" />
+	</simpleLabelButtonTooltip>
+	 -->
+
+    <!-- 371:goto last -->
+    <miniIcons y="2" x="$once{ parent.width-21 }" resource="step_fwd_two_arrow" width="16" height="16" 
+                   showhandcursor="true">
+        <handler name="onclick">
+            parent.calllast();
+        </handler>
+        <labelTooltip labelid="371" />
+    </miniIcons>
+    <!--
+	<simpleLabelButtonTooltip name="_next2" x="$once{ parent.width-21 }" width="22" height="22" 
+		enabled="true" onclick="parent.calllast()" tooltipId="371">
+		<view resource="step_fwd_two_arrow" valign="middle" align="center" />
+	</simpleLabelButtonTooltip>
+	 -->
+	
+    <!-- =========  BgArea area  =========-->
+    <view width="$once{ parent.width }" bgcolor="0x000000"
+          height="$once{ parent.height-20 }" x="0" y="20">
+        <view width="$once{ parent.width-2 }" bgcolor="$once{ parent.parent.mainBgColor }"
+          height="$once{ parent.height-2 }" x="1" y="1"></view>
+    </view>
+          
+	<!-- =========  List Header area  =========-->
+
+	<view name="_innerlisthead" height="20" x="1" width="$once{ parent.width-2 }" 
+		 y="22" clip="true">
+		<view name="_inn" x="${ parent.parent._innerlist._inn.x }" layout="axis:x;spacing:0" />
+	</view>	
+	
+	<!-- =========  List Contents area  =========-->
+	<view name="_innerlist" height="$once{ parent.height-43 }" x="1" width="$once{ parent.width-2 }"
+		y="42" clip="true" bgcolor="$once{ parent.mainBgColor }">
+		<view name="_inn" >
+			<innerList name="_inn" />
+		</view>
+		<vscrollbar />
+		<hscrollbar />
+	</view>
+
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverListHeaderItem.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverListHeaderItem.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverListHeaderItem.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverListHeaderItem.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,158 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<resource name="width_gripper_rsc" src="resources/width_gripper.swf" />
+
+<resource name="sort_asc_turnover_rsc" src="resources/sort_asc.png" />
+<resource name="sort_desc_turnover_rsc" src="resources/sort_desc.png" />
+
+<class name="turnOverListHeaderItem" extends="simpleLabelButton" clip="true" fontstyle="plain">
+
+	<attribute name="subviewsid" value="0" type="number" />
+
+	<view height="$once{ parent.height-2 }" width="5" align="right"
+		cursor="width_gripper_rsc" 
+		onmousedown="parent.rs.apply()" onmouseup="parent.rs.remove()" />
+		
+	<handler name="onwidth" args="w">
+		this.parent.parent.parent.sendWidthUpdate(w,this.subviewsid);
+	</handler>
+	<resizestate name="rs" height="20" />
+</class>
+
+<class name="turnOverListHeaderItemSimple" extends="simpleLabelButton" fontstyle="plain">
+	<attribute name="asc" value="false" type="boolean" />
+	<attribute name="pathOrder" value="" type="string" />
+	<handler name="onclick">
+		if (parent.preButton!=null){
+			parent.preButton._asc.setAttribute('visibility','hidden');
+			parent.preButton._desc.setAttribute('visibility','hidden');
+		}
+		if (!this.asc){
+			this._asc.setAttribute('visibility','hidden');
+			this._desc.setAttribute('visibility','visible');
+		} else {
+			this._asc.setAttribute('visibility','visible');
+			this._desc.setAttribute('visibility','hidden');		
+		}
+		parent.preButton = this;
+		parent.setNewSortOrder(this.pathOrder,this);
+	</handler>
+	<view name="_asc" x="$once{ parent.width-20 }" 
+		  visibility="hidden" resource="sort_asc_turnover_rsc" />
+	<view name="_desc" x="$once{ parent.width-20 }" 
+		  visibility="hidden" resource="sort_desc_turnover_rsc" />
+</class>
+
+<class name="basicturnoverlistheaderitem" fontsize="9"
+       extends="simpleLabelButton" clip="true">
+	<handler name="onclick">
+		this.parent.parent.parent.sendClickedItem.sendEvent(this);
+	</handler>
+</class>
+
+<class name="turnoverlistheaderitem" extends="basicturnoverlistheaderitem" >
+
+	<attribute name="subviewsid" value="0" type="number" />
+
+	<handler name="onwidth" args="w">
+		this.parent.parent.parent.sendWidthUpdate(w,this.subviewsid);
+	</handler>
+
+</class>
+
+<class name="turnoverlistheaderitemIcon" extends="basicturnoverlistheaderitem" >
+
+    <attribute name="subviewsid" value="0" type="number" />
+    <attribute name="toolTipLabelId" value="0" type="number" />
+    <attribute name="iconResource" value="" type="string" />
+
+    <handler name="onwidth" args="w">
+        this.parent.parent.parent.sendWidthUpdate(w,this.subviewsid);
+    </handler>
+    
+    <handler name="onclick" >
+        this.parent.parent.parent.sendHeaderClick.sendEvent(this);
+    </handler>
+    
+    <view align="center" valign="middle" 
+          resource="$once{ parent.iconResource }" />
+    
+    <labelTooltip labelid="$once{ parent.toolTipLabelId }" />
+    
+</class>
+
+<class name="turnoverlistheaderitemResize" extends="basicturnoverlistheaderitem" >
+
+	<attribute name="subviewsid" value="0" type="number" />
+
+    <attribute name="minwidth" value="2" type="number" />
+    <attribute name="minheight" value="10" type="number" />
+    
+	<view height="$once{ parent.height }" width="4" align="right" bgcolor="black"
+		cursor="width_gripper_rsc" opacity="0.01"
+		onmousedown="parent.rs.apply()" onmouseup="parent.rs.remove()" />
+
+	<handler name="onwidth" args="w">
+        //////if ($debug) //Debug.write("onwidth: ",w);
+		this.parent.parent.parent.sendWidthUpdate(w-1,this.subviewsid);
+	</handler>
+
+	<resizestatemin name="rs" height="20" />
+
+</class>
+
+<class name="turnoverlistheaderitemResizeWizzardRefresh" extends="basicturnoverlistheaderitem" >
+
+    <attribute name="subviewsid" value="0" type="number" />
+
+    <attribute name="minwidth" value="2" type="number" />
+    <attribute name="minheight" value="10" type="number" />
+    
+    <view height="$once{ parent.height }" width="4" align="right" bgcolor="black"
+        cursor="width_gripper_rsc" opacity="0.01"
+        onmousedown="parent.rs.apply()" onmouseup="parent.rs.remove()" />
+
+    <handler name="onwidth" args="w">
+        //////if ($debug) //Debug.write("onwidth: ",w);
+        this.parent.parent.parent.sendWidthUpdate(w-1,this.subviewsid);
+    </handler>
+    
+    <view name="refresh_geomComp" resource="refresh_geomComp" y="1" x="${ parent.width - 19 }"
+        onmouseover="" onmouseout="">
+        <handler name="onclick">
+           this.parent.parent.parent.parent.parent.updateGeomByValue();
+        </handler>
+        <labelTooltip labelid="62" />
+    </view>   
+
+    <resizestatemin name="rs" height="20" />
+
+</class>
+
+
+
+<class name="turnOverListHeaderItemOrdered" extends="turnoverlistheaderitemResize">
+
+    <attribute name="orderBy" value="" type="string" />
+    <attribute name="asc" value="true" type="boolean" />
+    <attribute name="isSelected" value="false" type="boolean" />
+    
+    <handler name="oninit">
+        if (this.isSelected) {
+            parent.parent.parent.updateOrder(this);
+        }
+    </handler>
+    
+    <handler name="onclick">
+        parent.parent.parent.updateOrder(this);
+    </handler>
+    
+    <view name="_sortUp" visibility="hidden" stretches="both" width="8" height="8" y="6"
+        x="${parent.width - 13 }" resource="sort_up_rsc" />
+    <view name="_sortDown" visibility="hidden" stretches="both" width="8" height="8" y="6"
+        x="${parent.width - 13 }" resource="sort_down_rsc" />
+
+</class>
+
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverTextItem.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverTextItem.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverTextItem.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlist/turnOverTextItem.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="turnOverTextItem" extends="text" fontsize="11" resize="false">
+	<view height="$once{ parent.parent.height }" width="1" 
+        align="right" bgcolor="black" />
+</class>
+        
+</library>

Added: incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlistpaged/basePagingListItem.lzx
URL: http://svn.apache.org/viewvc/incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlistpaged/basePagingListItem.lzx?rev=1220424&view=auto
==============================================================================
--- incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlistpaged/basePagingListItem.lzx (added)
+++ incubator/openmeetings/branches/video-components/WebContent/openmeetings/swf10/base/components/turnoverlistpaged/basePagingListItem.lzx Sun Dec 18 15:22:12 2011
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<library>
+
+<class name="basePagingListItem" extends="baseContentListItem" height="20"> 
+
+	<attribute name="itemId" value="0" type="number" />
+    
+</class>
+
+
+<class name="comoboxListItemNoHeaders" extends="basePagingListItem" >
+    
+    <attribute name="text" value="" type="string" />
+    
+    <text width="100" height="20" resize="false" fontsize="10"
+          text="${ parent.text }" />
+          
+    <labelTooltip text="${ parent.text }" />
+    
+</class>
+
+</library>