绑定UI状态

               /**
		 * 绑定UI控件相关状态
		 * */
		protected function bindingUIState():void{
			this.states = [
				new State ({
					name: "list_state",
					overrides: [
						new mx.states.SetProperty().initializeFromObject({
							target: "headDGHGrp",
							name: "visible",
							value: true
						})
					]
				})
				,
				new State ({
					name: "card_state",
					overrides: [
						new mx.states.SetProperty().initializeFromObject({
							target: "headFormHGrp",
							name: "visible",
							value: true
						})
					]
				})
			];
		}

你可能感兴趣的:(绑定UI状态)