 import flash.events.TimerEvent;
 import flash.geom.Rectangle;
 import flash.media.Video;
+import flash.system.ApplicationDomain;
 import flash.utils.Timer;
 
 import mx.core.FlexGlobals;

    {
        currentTimeDisplay.text = formatTimeValue(currentTime);
    } 
    
    //--------------------------------------------------------------------------
    //

     */
    private static const THUMBNAIL_SOURCE_PROPERTY_FLAG:uint = 1 << 9;
    
    
    //--------------------------------------------------------------------------
    //
    //  Class properties
    //
    //--------------------------------------------------------------------------
    
    /**
     * @private
     */  
    private static var _screenClass:Class;
    
    /**
     * @private
     */
    private static var checkedForScreenClass:Boolean;
    
    /**
     *  @private
     */
    private static function get screenClass():Class
    {
        if (!checkedForScreenClass)
        {
            checkedForScreenClass = true;
            
            if (ApplicationDomain.currentDomain.
                hasDefinition("flash.display::Screen"))
            {
                _screenClass = Class(ApplicationDomain.currentDomain.
                    getDefinition("flash.display::Screen"));
            }
        }
        
        return _screenClass;
    }
    
    //--------------------------------------------------------------------------
    //
    //  Class mixins
