 import mx.styles.ISimpleStyleClient;
 import mx.utils.MatrixUtil;
 
-import spark.core.RelativePosition;
+import spark.components.PopUpPosition;
 
 use namespace mx_internal;
 

    //  popUpPosition
    //----------------------------------
    
    private var _popUpPosition:String = RelativePosition.EXACT;
    
    /**
     *  Position of the popUp when it is opened. 
     *  Possible values are "left", "right", "above", "below", "center", and "exact"
     * 
     *   
     *  @default RelativePosition.EXACT
     * 
     *  @see spark.core.RelativePosition
     * 
     *  @langversion 3.0
     *  @playerversion Flash 10

                // then revert to the original position. 
                switch(adjustedPosition)
                {
                   case PopUpPosition.BELOW :
                        if (adjustedBounds.bottom > screen.bottom)
                            adjustedPosition = null; 
                        break;
                    case PopUpPosition.ABOVE :
                        if (adjustedBounds.top < screen.top)
                            adjustedPosition = null; 
                        break;
                    case PopUpPosition.LEFT :
                        if (adjustedBounds.left < screen.left)
                            adjustedPosition = null; 
                        break;
                    case PopUpPosition.RIGHT :
                        if (adjustedBounds.right > screen.right)
                            adjustedPosition = null;  
                        break;
