 		public var parentStates:Array;
 		/* @private */
 		public var path:Array;
-		private var _logger:Logger;
 		
 		/**
 		 * Creates a generic StateMachine. Available states can be set with addState and initial state can

{
	import flash.events.*;
	import flash.utils.Dictionary; 
	import patota.debug.* 
	import patota.debug.log; 
	import br.com.stimuli.string.printf;

	public class StateMachine extends EventDispatcher
	{

		{
			// If there is no state that maches stateTo
			if (!(stateTo in _states)){
				trace("[StateMachine]",id,"Cannot make transition: State "+ stateTo +" is not defined");
				return;
			}
			
			// If current state is not allowed to make this transition
			if(!canChangeStateTo(stateTo))
			{
				trace("[StateMachine]",id,"Transition to "+ stateTo +" denied");
				_outEvent = new StateMachineEvent(StateMachineEvent.TRANSITION_DENIED);
				_outEvent.fromState = _state;
				_outEvent.toState = stateTo;
