自定义 错误提示的样式

阅读更多


	
	
		 -1) {
					var value:String = comboBox.selectedItem.data;
					var cssObj:CSSStyleDeclaration;
					cssObj = StyleManager.getStyleDeclaration(".errorTip");
					cssObj.setStyle("borderColor", value);
					textInput.setStyle("errorColor", value);
					textInput.errorString = errStr;
				} else {
					textInput.errorString = "";
				}
			}
			
			private function button_click(evt:MouseEvent):void {
				comboBox.selectedIndex = -1;
			}
		]]>
	
	
	
		
		
		
		
		
	
	
	Oh noes, an errata!
	
	
		
			
				
			
		
		
		
	
	
	
	

你可能感兴趣的:(Adobe,XML)