Return to Snippet

Revision: 9252
at October 27, 2008 01:16 by jonniespratley


Initial Code
/** *******************************************************************
 * MySnippets
 * Free for use
 *
 * @author  Jonnie Spratley
 * @contact [email protected]
 ******************************************************************* */
package
{
	import com.adobe.cairngorm.control.FrontController;
	
	/**
	 * The Front Controller is a central place where all the commands are mapped to
	 * the relevant events. Once an event is dispatched, the Front Controller finds
	 * the corresponding command to execute.
	 */	
	public final class Controller extends FrontController
	{
		public function Controller()
		{
			this.initialize();
		}

		private function initialize() : void
		{
			//Map events.WHAT TYPE OF EVENT, to COMMAND

		    
		    //todo: add commands
		}
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Cairngorm Controller

Initial Tags
textmate, Flex

Initial Language
Other