Sha256: a89b4ecc68ce8d4b789f1ca4eb3c71e9422bb28b6a941fc8f40a15847c5f1db2

Contents?: true

Size: 911 Bytes

Versions: 3

Compression:

Stored size: 911 Bytes

Contents

package com.fourD.core {
	
	import flash.events.Event;
	import flash.events.EventDispatcher;
	import flash.events.IEventDispatcher;

	import com.fourD.core.TectonEvent;

	import mx.events.CollectionEvent;

	public class Pheron {
		
		/** This property is injected by the application. */
		[Bindable]
		public var dispatcher:IEventDispatcher;
		
		/** 
		 *	urls look like this:
		 *	[{view:myView, viewAction:"show", model:myContentID, modelAction:"create"}
		 *	{view:anotherView, viewAction:"hide", model:myContentID, modelAction:"show"}]
		 *	In turn, the PathwayEvent is picked apart by the TectonManager which
		 *	figures out how to sequence tectons (actions on system objects)
		 */
		public function gotoUrl(url:Array):void {			
			var event:PathwayEvent = new PathwayEvent(PathwayEvent.TRAVERSE);
			event.url = url;
			dispatcher.dispatchEvent(event);
		}
		
		public function Pheron() {
			
		}
	}	
}

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/Pheron.as
emergent-core-0.1.01 rails_generators/emergent_config/templates/app/flex/com/fourD/core/Pheron.as
emergent-core-0.1.02 rails_generators/emergent_config/templates/app/flex/com/fourD/core/Pheron.as