      */
     private var videoDisplayProperties:Object = {};
     
+    /**
+     *  @private
+     *  The value of the pauseWhenHidden property before exiting 
+     *  fullScreen.  We need to store it away here so we can 
+     *  restore it at commitProperties() time because of an AIR 
+     *  Mac bug.
+     */
+    private var exitingFullScreenPauseWhenHidden:Boolean;
+    
+    /**
+     *  @private
+     *  Whether the pauseWhenHidden property needs to be updated.
+     */
+    private var needsToUpdatePauseWhenHidden:Boolean = false;
+    
     //--------------------------------------------------------------------------
     //
     //  Properties

        // keep track of pauseWhenHidden b/c we will set it to false temporarily 
        // so that the video does not pause when we reparent it to the top
        // level application
        var oldPauseWhenHidden:Boolean = pauseWhenHidden;
        pauseWhenHidden = false;
        
        // set the fullScreen variable back to false and remove this event listener

        }
    }
    
    /**
     *  @private
     */
    override protected function commitProperties():void
    {
        super.commitProperties();
        
        // if coming from full screen mode, we reset the 
        // pauseWhenHidden property here because of an AIR bug
        // that requires us to defer it.
        if (needsToUpdatePauseWhenHidden)
        {
            needsToUpdatePauseWhenHidden = false;
            pauseWhenHidden = exitingFullScreenPauseWhenHidden;
        }
    }
    
    //--------------------------------------------------------------------------
    //
    //  Methods
