 package spark.components
 {
 import flash.events.Event;
+import flash.events.EventDispatcher;
 import flash.net.registerClassAlias;
 
 import mx.core.IVisualElement;

     */
    private function startViewTransition(event:Event):void
    {
        enterFrameCount++;
        
        if (enterFrameCount < 2)
            return;
        
        enterFrameCount = 0;
        removeEventListener(Event.ENTER_FRAME, startViewTransition);

        if (hasEventListener(FlexEvent.TRANSITION_START))

import spark.effects.animation.Animation;
import spark.effects.animation.MotionPath;
import spark.effects.animation.SimpleMotionPath;
import spark.events.ViewNavigatorEvent;
import spark.layouts.supportClasses.LayoutBase;
import spark.transitions.SlideViewTransition;
import spark.transitions.ViewTransitionBase;
import spark.transitions.ViewTransitionDirection;

use namespace mx_internal;

