 /**
  *  Dispatched when the current view has been activated.
  * 
- *  @eventType mx.events.FlexEvent.VIEW_ACTIVATE
+ *  @eventType mx.events.ViewNavigatorEvent.VIEW_ACTIVATE
  *  
  *  @langversion 3.0
  *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-[Event(name="viewActivate", type="mx.events.FlexEvent")]
+[Event(name="viewActivate", type="spark.events.ViewNavigatorEvent")]
 
 /**
  *  Dispatched when the current view has been deactivated.
  * 
- *  @eventType mx.events.FlexEvent.VIEW_DEACTIVATE
+ *  @eventType mx.events.ViewNavigatorEvent.VIEW_DEACTIVATE
  *  
  *  @langversion 3.0
  *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-[Event(name="viewDeactivate", type="mx.events.FlexEvent")]
+[Event(name="viewDeactivate", type="spark.events.ViewNavigatorEvent")]
 
 /**
  *  Dispatched when the screen is about to be removed in response
  *  to a screen change.  Calling <code>preventDefault()</code> 
  *  while handling this event will cancel the screen change.
  * 
- *  @eventType mx.events.FlexEvent.REMOVING
+ *  @eventType mx.events.ViewNavigatorEvent.REMOVING
  *  
  *  @langversion 3.0
  *  @playerversion Flash 10.1
  *  @playerversion AIR 2.5
  *  @productversion Flex 4.5
  */
-[Event(name="removing", type="mx.events.FlexEvent")]
+[Event(name="removing", type="spark.events.ViewNavigatorEvent")]
 
 /**
  *  The View class is the base container class for all Views used by view

        {
            _active = value;
            
            var eventName:String = _active ? FlexEvent.VIEW_ACTIVATE : FlexEvent.VIEW_DEACTIVATE;
            if (hasEventListener(eventName))
                dispatchEvent(new FlexEvent(eventName));
        }
    }


import mx.events.PropertyChangeEvent;

import spark.core.ContainerDestructionPolicy;
import spark.events.ViewNavigatorEvent;
import spark.layouts.supportClasses.LayoutBase;

use namespace mx_internal;
