Sha256: f38f2e9b9ad576874d45812a7cce150312caaf7a655920237f2c207308da4dfd

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

package com.fourD.core {

	import flash.display.DisplayObject;
	import flash.events.*;
		
	public class Pheron2 extends Event {

		public static const INITIALIZE:String = "initializeTectonEvent";
		public static const START:String = "runTectonEvent";
		public static const COMPLETE:String = "runCompleteTectonEvent";
		
		/** 
		 *	Tecton that dispatched this event, which has a reference to a view (tropon)
		 *	and the action that will be run (tweens or functions).
		 *	A tecton has a ton of information with it.
		 */
		
		public var tecton:Tecton;
		
		public var actionParams:Object;
		
		private var name:String;
		
		/**
     	 *	A PathwayEvent tells the View how to respond when some new data is loaded
		 *	or you want to peform some super sophisticated animation sequence
	 	 *	It also allows you to finely control the View state logic
		 *	Edit this as you see fit.
     	 */
		public function Pheron2(phase:String, bubbles:Boolean = false)
	    {
	    	name = tecton.tropon.toString() + phase;
	        super(name, bubbles);
	    }
	
		override public function clone():Pheron2
	    {
	        return new Pheron2(name, bubbles);
	    }
	}
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
emergent-core-0.1.0 rails_generators/emergent_config/templates/app/flex/com/fourD/core/Pheron2.as
emergent-core-0.1.01 rails_generators/emergent_config/templates/app/flex/com/fourD/core/Pheron2.as
emergent-core-0.1.02 rails_generators/emergent_config/templates/app/flex/com/fourD/core/Pheron2.as