 import spark.events.VideoEvent;
 import spark.primitives.VideoElement;
 import spark.primitives.supportClasses.TextGraphicElement;
+
+use namespace mx_internal;
 
 //--------------------------------------
 //  Events

        this.y = beforeFullScreenInfo.y;
        this.setLayoutBoundsSize(beforeFullScreenInfo.width, beforeFullScreenInfo.height);
        
        videoElement.mx_internal::videoPlayer.smoothing = beforeFullScreenInfo.smoothing;
        videoElement.mx_internal::videoPlayer.deblocking = beforeFullScreenInfo.deblocking;
        
        if (beforeFullScreenInfo.parent is IVisualElementContainer)
            beforeFullScreenInfo.parent.addElementAt(this, beforeFullScreenInfo.childIndex);

        var currentState:String;
        
        if (videoElement)
            currentState = videoElement.videoPlayer.state;
        
        // only push certain video player states to our skins.
        // Resizing, rewinding, and execQueuedCmd are ignored, 
