sequenceevent.as

来自「flash as编程的库和源代码」· AS 代码 · 共 25 行

AS
25
字号
package de.alex_uhlmann.animationpackage.animation {
	
	import flash.events.Event;
		
	public class SequenceEvent extends AnimationEvent {
		
		public static const UPDATE_POSITION:String = "onUpdatePosition";
		public var childDuration:Number;
		public var lastChild:IAnimatable;
		public var nextChild:IAnimatable;
		
		public function SequenceEvent(eventType:String,
										value:* = null,
										childDuration:Number = -1, 
										lastChild:IAnimatable = null,
										nextChild:IAnimatable = null)
		{
			super(eventType, value);
			
			this.childDuration = childDuration;
			this.lastChild = lastChild;
			this.nextChild = nextChild;			
		}
	}
}

⌨️ 快捷键说明

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