Tutorials, extensions, and source files for ActionScript, Flash, and other Adobe products.

 

senocular.com ActionScript Library

VirtualMouseEvent.as

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package com.senocular.ui {
	
	import flash.events.Event;
	
	/**
	 * Wrapper for the Event class to let you check to
	 * see if an event originated from the user's mouse
	 * or a VirtualMouse instance.
	 */
	public class VirtualMouseEvent extends Event implements IVirtualMouseEvent {
		public function VirtualMouseEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false){
			super(type, bubbles, cancelable);
		}
	}
}