⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 userevent.as

📁 flex 实现的一个showcase 喜欢flex的朋友可以
💻 AS
字号:
package com.flexShowcase.events {
	
	
	//////////////////////////////////////////////////
	//import
	
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;
	
	
	//////////////////////////////////////////////////
	//class
	
	public class UserEvent extends Event {
		
		
		//////////////////////////////////////////////////
		//static constant variables
		
		public static const CHANGE:String = "userChangeEvent";
		public static const PROJECTS_LOADED:String = "userProjectsLoadedEvent";
		public static const LOGIN:String = "userLoginEvent";
		public static const SIGNUP:String = "userSignupEvent";
		public static const LOGOUT:String = "userLogoutEvent";
		
		
		//////////////////////////////////////////////////
		//public variables
		
		public var username:String;
		public var password:String;
		public var projects:ArrayCollection;
		
		
		//////////////////////////////////////////////////
		//constructor
		
		public function UserEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false):void {
			super(type, bubbles, cancelable);
		}
	}
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -