     private var popUpIsDisplayed:Boolean = false;
     private var addedToStage:Boolean = false;
     
-    // TODO (jszeto) Update to new vector syntax
-    private static var decomposition:Vector.<Number> = new Vector.<Number>();
-    decomposition.push(0);
-    decomposition.push(0);
-    decomposition.push(0);
-    decomposition.push(0);
-    decomposition.push(0);    
+    private static var decomposition:Vector.<Number> = new <Number>[0,0,0,0,0];
     
     //--------------------------------------------------------------------------
     //

    {
        switch(placement)
        {
            case RelativePosition.BELOW:
                registrationPoint.x = 0;
                registrationPoint.y = unscaledHeight;
                break;
            case RelativePosition.ABOVE:
                registrationPoint.x = 0;
                registrationPoint.y = -popUpHeight;
                break;
            case RelativePosition.LEFT:
                registrationPoint.x = -popUpWidth;
                registrationPoint.y = 0;
                break;
            case RelativePosition.RIGHT:
                registrationPoint.x = unscaledWidth;
                registrationPoint.y = 0;
                break;            
            case RelativePosition.CENTER:
                registrationPoint.x = (unscaledWidth - popUpWidth) / 2;
                registrationPoint.y = (unscaledHeight - popUpHeight) / 2;
                break;            
            case RelativePosition.EXACT:
                // already 0,0
                break;
        }

                // 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;
