PageRenderTime 14ms CodeModel.GetById 10ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/src/org/osflash/signals/natives/sets/EventDispatcherSignalSet.as

http://github.com/robertpenner/as3-signals
ActionScript | 28 lines | 21 code | 4 blank | 3 comment | 0 complexity | 8f529e0a5c03b204a3e66dea4305d058 MD5 | raw file
 1package org.osflash.signals.natives.sets 
 2{
 3	import org.osflash.signals.natives.NativeSignal;
 4
 5	import flash.events.Event;
 6	import flash.events.EventDispatcher;
 7
 8	/**
 9	 * @author Jon Adams
10	 */
11	public class EventDispatcherSignalSet extends NativeSignalSet 
12	{
13		public function EventDispatcherSignalSet(target:EventDispatcher) 
14		{
15			super(target);
16		}
17
18		public function get activate():NativeSignal 
19		{
20			return getNativeSignal(Event.ACTIVATE);
21		}
22
23		public function get deactivate():NativeSignal 
24		{	
25			return getNativeSignal(Event.DEACTIVATE);
26		}
27	}
28}