 	import mx.core.IUIComponent;
 	import mx.core.IVisualElement;
 	import mx.events.FlexEvent;
+	import mx.events.PropertyChangeEvent;
 	import mx.states.State;
 	
 	import spark.components.supportClasses.SkinnableComponent;

			if (canRotate())
				currentState = "rotatingState";
			
			addVisibilityListeners();
			invalidateSkinState();
		}
		
		private function removedFromStageHandler(event:Event):void

			invalidateProperties();
		}
		
		override protected function layer_PropertyChange(event:PropertyChangeEvent):void
		{
			super.layer_PropertyChange(event);
			
			if (event.property == "effectiveVisibility")
			{
				effectiveVisibilityChanged = true;
				invalidateProperties();
			}
		}
		
		
	}
}
